by EM Dixson (6 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Thu 28th October 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Select the starting point for the TEXT BOX on the GOT FOCUS event. That way all Quick Text Select On GotFocus When working with data entry
API Declarations
'
With ctlName
.SelStart = 0
.SelLength = Len(ctlName)
End With
'
End Sub
Now add a call to this subroutine in the GotFocus event of the input controls:
Private Sub txtFocusMe_GotFocus()
Call FocusMe(txtFocusMe)
End Sub
No comments have been posted about Select the starting point for the TEXT BOX on the GOT FOCUS event. That way all Quick Text Select O. Why not be the first to post a comment about Select the starting point for the TEXT BOX on the GOT FOCUS event. That way all Quick Text Select O.