Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Tab Control Selected Tab

Status
Not open for further replies.

LPlates

Programmer
Jun 5, 2003
554
AU
I add a tab to the Tabcontrol...

Tab1.Tabs.Add Index, Key, Caption

How do I select the new tab to show the contents of the tab(without clicking on it)? Thanks in advance!
 
You just have to set the selected property to True for whichever index. i.e.

Code:
Tab1.Tabs(3).Selected = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top