Live Chat Icon For mobile
Live Chat Icon

How do I programatically select a Tab Page?

Platform: WinForms| Category: TabControl

There are a couple of ways you could do select a tab page programmatically:

//Select the second Tab Page
this.tabControl.SelectedTab = this.tabPage2
//Select Second Tab
this.tabControl.SelectedIndex= 1;
’Select the second Tab Page
Me.tabControl.SelectedTab = Me.tabPage2
’Select Second Tab
Me.tabControl.SelectedIndex= 1

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.