by 5thShadow (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 12th March 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Selects all text in a singleline OR multiline textbox when the textbox recieves focus
'event:
SendKeys "^{home}+^{end}"
'this code works on both singleline AND multiline textboxes, unlike the
'code submitted by a number of other people: SendKeys "{home}+{end}"
' ---5thShadow
No comments have been posted about Selects all text in a singleline OR multiline textbox when the textbox recieves focus. Why not be the first to post a comment about Selects all text in a singleline OR multiline textbox when the textbox recieves focus.