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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you make a TabPage Active

Status
Not open for further replies.

BigRedTexas

Programmer
Mar 14, 2002
22
0
0
US
I've looked on MSDN but don't see an obvious way to make a TabPage active on the .net TabControl. I have two tabs, and just want to be able to make the second one active when something happens. Can anyone please help me?

Thanks,
Scott
 
Me.tab.SelectedIndex = 1 shoud do the job

Best Regards
ALMI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top