VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Hilites all characters in each textbox contol on Got Focus

by Jerry Sherman (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 17th August 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Hilites all characters in each textbox contol on Got Focus

API Declarations


'Add the Word HiLite to Each TextBox control's Got Focus

Rate Hilites all characters in each textbox contol on Got Focus



'Developed By:      Jerry Sherman
'Description:       Hilite all characters in each textbox contol on Got Focus

If TypeOf ActiveControl is TextBox then
  ActiveControl.Selstart = 0
  ActiveControl.SelLength = Len(ActiveControl.Text)
End If
End Sub

Download this snippet    Add to My Saved Code

Hilites all characters in each textbox contol on Got Focus Comments

No comments have been posted about Hilites all characters in each textbox contol on Got Focus. Why not be the first to post a comment about Hilites all characters in each textbox contol on Got Focus.

Post your comment

Subject:
Message:
0/1000 characters