Specifying Pages in TabControl in VB.NET:   Return to List

' OptionsForm is the instantiated name of the form containing the TabControl
' The TabControl is named "tabPanel" and contains 2 pages
' The system automatically created objects tabPanelPage1 and tabPanelPage2

With OptionsForm
    .tabPanel.SelectedTab = OptionsForm.tabPanelPage1
    .ShowDialog()
End With



Note to Webmaster