I'm trying to figure out how to move the cursor to end of text in a textbox after I set focus to the control. Right now all of the text is highlighted when the focus is set. The code I'm working with is very simple:
-----------------------------------------------------------------------------
Private Sub cmdEditComments_Click()
Me.Comments.Locked = False
Me.Comments.SetFocus
End Sub
-----------------------------------------------------------------------------
I'm thinking I need to do something with Chr(3), but am not sure of syntax.
Thanks!
-----------------------------------------------------------------------------
Private Sub cmdEditComments_Click()
Me.Comments.Locked = False
Me.Comments.SetFocus
End Sub
-----------------------------------------------------------------------------
I'm thinking I need to do something with Chr(3), but am not sure of syntax.
Thanks!
Last edited: