VBnet Sponsor - Compuware Corporation

 

Text/String API
Updated Saturday March 31, 2001
   
Category
Topic
CoolTabs
vb6
vb5
VBnet CoolTabs Utility
Use this utility to format the tabstops in a list or textbox.


Text API
vb6
vb5
vb4-32
Adding AutoComplete to a VB Text Box
Use the SHAutoComplete API if you're running IE 5 or greater. Nov 27.99

Disabling the Combo Edit Box
Method to disable text editing in a 'Style 0' combo box. May 5.99

Manipulating Special Textbox Styles & Messages
Customize the style for textboxes. Updated Aug 17.98

How to Create a Sizeable Textbox
API code to add a sizeable border to a textbox at runtime. Jan 25.97

How to Determine the Number of Lines in a Textbox
This code fills a label with the number of lines of text in a textbox as the user enters text. Jul 18.98

How to Determine the Current Line in a Textbox
This code fills a label with the current line number that the user is on.  Jul 18.98

How to Determine the Size of a Document in a Textbox Using APIs
There may be times you might want a precise count of the size of the text in a textbox. While the FileLen() function can provide this information for a newly opened file, this code fills a label with the dynamic size of the document that updates as the user changes the text.  Jul 18.98

How to Scroll a Textbox Vertically Using SendMessage
How to use the SendMessage API to programmatically scroll a textbox vertically by any number of lines. The code also contains an interesting speed comparison demonstrating the overhead involved when a control's property is referenced during a complex operation, over the recommend method of using temporary variables for this purpose.  Jul 18.98

How to Select Text Using APIs
Non-typical routines using APIs for selecting text.  Jul 18.98

How to Select a Text Range Using the API
API method to select text based on its line number in a textbox. Sept 13.98

How to Set Tabstops in a Textbox
Like the listbox method, how to align multi-column text data in a textbox without using the Courier font.  Jan 8.97



String API
vb6
vb5
vb4-32
Displaying Long Strings with Ellipses
Add the ability to create truncated strings containing ellipses. Jun 22.98

Implementing a Number-To-Text Conversion Function
A multi-option number-to-text routine. May 21.99



VBnet Sponsor - Compuware Corporation

Copyright ©1996-2001 ebirch ltd/VBnet and Randy Birch. All Rights Reserved.  Terms of Use