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
 

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

Back
Top