How to hide a TabPage on a TabControl?

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
 
A

Adrian

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.
 

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


Top