Switch to a different tab on button click

Lanc1988

Contributor
Joined
Nov 27, 2003
Messages
508
I have a button and its in a tab control (tabcontrol1) and when its clicked it does some events then after its done I want it to switch to the next tab.. but I'm not sure how to write the code for that.

Something like:
Visual Basic:
TabControl1.TabPageControlCollection(TabPage2)


NEVERMIND: I have found out how to code it.
 
Last edited:
Back
Top