TEL : +33 (0)9 72 13 15 17
Accueil
Services
Logiciels
Competences
Contact
La boutique
Forums
Windows Forms FAQ resources
26. Windows Forms TabControl
26.2 How do I programatically select a Tab Page?
There are a couple of ways you could do select a tab page programmatically:
[C#]
//Select the second Tab Page
this.tabControl.SelectedTab = this.tabPage2
or
//Select Second Tab
this.tabControl.SelectedIndex= 1;
[VB.NET]
'Select the second Tab Page
Me.tabControl.SelectedTab = Me.tabPage2
or
'Select Second Tab
Me.tabControl.SelectedIndex= 1
online visitor count