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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top