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
'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