jvcoach23
Centurion
I'm working with a windows form and using the tab control. Lets say I'm on the second tab.. called tab2. In just learning and playing around.. I'd like to have a button on tab2, called button1 that when pressed, will shift the focus to tab1, textbox1. I've tried something like this
this didn't work.. I've tried searching around but must be using the wrong key words.. anyone have the answer for me..
thanks
shannon
Visual Basic:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.textbox1.Focus()
End Sub
this didn't work.. I've tried searching around but must be using the wrong key words.. anyone have the answer for me..
thanks
shannon