snippet library logo
Boxedart - Worlds Largest Development Center
in category
Visual Basic / Text / Automatic selection
Snippet details
ID: 461
Viewed: 1326
Added: 2002-08-19
Version:

User Rated at:
Rate This:
Snippets in this catagory         
Show Printable Version
When using edit boxes, it is often useful to generate automatic selection of
text for your users when the control gets focus. This makes it easy to
overwrite the text. You can do this easily by adding a couple of lines to the
GotFocus event procedure:


Notice that the length value for SelLength is 65535, the maximum length allowed in a Text Box. This forces Visual
Basic to use the actual length of the text as the SelLength.

General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: Unknown

Snippet By:    Unknown
Declarations
Highlight All
Code
Highlight All




No Reviews to show


Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Subject:

Reviewed By:

Write a review:





Terms of Conditions
Powered By
Avian Hosting
© 2005 snippetlibrary.com All Rights Reserved.