-
Easy question.
Hi,
This one should be easy for you guys but something I would never thought of, and that's why I don't know how to do it.
I have a form, with 10 input textbox field, from top to bottom. TabIndex from 1 - 10 from top to bottom as well.
And now, I want it to "focus" into textbox number 5 everytime I load the form. I know there is something to do with the keyword focus, but just don't know how to do it.
Can any one give me a hand?
Thanks in advance for help
Andy
-
I don't know if this is the best way to do it, but I got this to work:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Show()
TextBox2.Focus()
End Sub