|
-
Nov 16th, 2000, 12:50 PM
#1
Thread Starter
Junior Member
I have set up the tabindex on my form to go to the correct place when the tab button is pressed. I need it to select the text in the text box when the tab button is pressed. Right now it goes to the begining of the text box but does not select the information in the text box. Any ideas would be appreciated.
-
Nov 16th, 2000, 12:53 PM
#2
Addicted Member
In the got focus event of the textbox put this
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
that will highlight all the text in a textbox whenever the textbox gets focus
-
Nov 16th, 2000, 01:09 PM
#3
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|