How can I set the focus to the end of existing text when the focus switches to a multi-line textbox, i.e. the cursor should be at the next line, w/o any highlighted text? Thanks.
Printable View
How can I set the focus to the end of existing text when the focus switches to a multi-line textbox, i.e. the cursor should be at the next line, w/o any highlighted text? Thanks.
VB Code:
Private Sub Text2_GotFocus() Text2.SelStart = Len(Text2.Text) End Sub
Thank you, that works great. Between a cold & medicine it's hard to think straight today.
What medicine are you taken?:) Fill better!!!Quote:
Originally posted by trutta
Between a cold & medicine it's hard to think straight today.