7 Years
Discussion Span
Last Post by Trle94

OK... I'm going to have to make some assumptions here:

You have 2 tabs, we'll say, Tab1 and Tab2. Tab1 has a button on it. You want to click this button and have it move to Tab2?

If that's it, you just have the method that handles the Button's Click() event set the tab control's SelectedIndex to the index number (probably 1) of Tab2.


I don't mean to sound ugly, but this is what I mean when I asked describe your issue in more detail. What elements are you working with? What is it doing now? What is it supposed to be doing? If this isn't what you wanted, then I just wasted my time answering the wrong question.


im working on some Lua scripter so there are STEP 1 STEP 2 STEP 3 etc STEP 1 is Tabbedpage 1 so when i click on button(Next Step) i want to get on tabbedpage 2, my english is terrible so i cant explain you very well :/


Just for references, you can also select by Index.

TabControl1.SelectedIndex = 1 '// select TabPage2.
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.