Question Need Help About Tab Control

crystaluz

Well-known member
Joined
Feb 17, 2009
Messages
55
Programming Experience
Beginner
Hello there.. I have two tab controls, TabControl1 and Tabcontrol2.

In TabControl1, there is a button "btnPayment".

When a user click the "btnPayment", how can I redirect them to TabControl2?

Thank you ...
 
I have no idea what this gets you, but based on your question, this should do it
VB.NET:
   Private Sub btnPayment_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPayment.Click
        TabControl2.Focus()
    End Sub
Perhaps a better idea would be to shift focus to a particular control on the second tab control rather than the tab control itself.
 
Back
Top