by Lefteris Velivasakis (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 14th February 2000
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Select the text of a text box when it gains focus
text1.SelStart = 0
text1.SelLength = Len(text1.Text)
End Sub