how to make a tab page invisible?

  • Thread starter Thread starter Cyrus Chiu
  • Start date Start date
Use the TabPageCollection.

TabControl.TabPages.Remove(tabControl3)

Generally, if you want to change the order of tabs, add tabs or remove tabs
at runtime you can simply clear the tab page collection and add the tab
pages that you need back in.

--
Bob Powell [MVP]
C#, System.Drawing

September's edition of Well Formed is now available.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
 
thz a lot

Bob Powell said:
Use the TabPageCollection.

TabControl.TabPages.Remove(tabControl3)

Generally, if you want to change the order of tabs, add tabs or remove tabs
at runtime you can simply clear the tab page collection and add the tab
pages that you need back in.

--
Bob Powell [MVP]
C#, System.Drawing

September's edition of Well Formed is now available.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
 
Back
Top