M
M O J O
Hi,
Maybe this question has been asked before, but I've searched the net
without finding any answer.
I create a new solution, put a TabControl on Form1, create a TabPage and
a put a TextBox in this TabPage.
I run the project and the TextBox does not have focus. (
I try this...
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Activated
Me.TextBox1.Focus()
End Sub
This does not give the TextBox focus either.
I check the tab order and this is correct.
How do I set focus to a TextBox in a TabControl???
Thanks!!!
M O J O
Maybe this question has been asked before, but I've searched the net
without finding any answer.
I create a new solution, put a TabControl on Form1, create a TabPage and
a put a TextBox in this TabPage.
I run the project and the TextBox does not have focus. (
I try this...
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Activated
Me.TextBox1.Focus()
End Sub
This does not give the TextBox focus either.
I check the tab order and this is correct.
How do I set focus to a TextBox in a TabControl???
Thanks!!!
M O J O