-
Hello; I am new to the VB and I think its a simple question but I have no idea how to do it.
Suppose I have some text boxes on a form and I filled out the text boxes with the required information. If I use the tab key to move to a text box already been filled with text, how can I have the text highlighted when that textbox got the focus.
I hope you all understand my question.
Thanks
-
Understood, how about:
Code:
Private Sub Text1_GotFocus()
Me.Text1.SelStart = 0
Me.Text1.SelLength = Len(Text1)
End Sub
-
Its Working
Thankyou Very much JamesM