VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Hightlights all the text in a text box. Just two lines of code!

by King Seh Horng (15 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 11th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Hightlights all the text in a text box. Just two lines of code!

Rate Hightlights all the text in a text box. Just two lines of code!




text1.sellength = 0

text1.seltext = Len(text1.text) 'The number of characters in the textbox

'For further information about my code,pls e-mail me at [email protected]

Download this snippet    Add to My Saved Code

Hightlights all the text in a text box. Just two lines of code! Comments

No comments have been posted about Hightlights all the text in a text box. Just two lines of code!. Why not be the first to post a comment about Hightlights all the text in a text box. Just two lines of code!.

Post your comment

Subject:
Message:
0/1000 characters