VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Select the text of a text box when it gains focus

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

Rate Select the text of a text box when it gains focus



text1.SelStart = 0
text1.SelLength = Len(text1.Text)
End Sub

Download this snippet    Add to My Saved Code

Select the text of a text box when it gains focus Comments

No comments have been posted about Select the text of a text box when it gains focus. Why not be the first to post a comment about Select the text of a text box when it gains focus.

Post your comment

Subject:
Message:
0/1000 characters