by Jeff (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Tue 4th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Highlights text in a textbox when it receives focus
textbox1.selstart=0 'Goes to the front of the box
textbox1.sellength=len(textbox1.text) 'Hightlights to the end of the word
textbox1.setfocus 'Sets focus on textbox