how to change to another page in TabControl?

  • Thread starter Thread starter CafeCat
  • Start date Start date
C

CafeCat

There are server Tab Pages in a Tab Control. How to change to another page
in program?

thanx
 
Change SelectedIndex property of the tab control. If you need to make a
particular tab page tabpage1 active, use:
tabControl.SelectedIndex = tabControl.IndexOf(tabpage1);
 
tabControlPersonalDataDaten.SelectedIndex = 0; // works with
Framework.Compact
// tabControlPersonalDataDaten.IndexOf(tabPagePersonalDataName); //
Does not work
 
Back
Top