How to hide a TabPage on a TabControl?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to hide a TabPage that is already inserted into a TabControl?
The method Hide doesn't seem to work.
Thank you
Cezar
 
Hi!
Use RemoveAt(index);

Remember that if you want to make it visible, you have to keep a reference
to it and then to add it to TabControl. Of course, it will appear as the
last TabPage.

Hope that helps.
Best regards.
 
Back
Top