VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Auto-Select Text on Focus

Delio Castillo  (1 Submission)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Nice feature to help users edit textboxes. The code selects all the existing text when the users focus on the textbox control. This will definitely make your application more user friendly. Please Vote!!!

Inputs
Textbox Name

Assumes
Copy this sub on your code and then use the textbox name as a parameter when you call the sub. When I use it, I usually call the SUB on the GotFocus event.

Rate Auto-Select Text on Focus (11(11 Vote))
Auto-Select Text on Focus.bas

Auto-Select Text on Focus Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters