• 0

[VB] Hiding tabs


Question

Hi, I am new to Visual Basic 2008.

I have a form with a TabControl, I want that all tabs except the first one (0) start hidden and only after selecting an option in a ComboBox they all will appear.

I have tried

TabControl.TabPages.Remove(n)

and then "Insert" and it removes the tab, but then when I insert it again, the tab appears but it has no content...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Correct. If you REMOVE s opposed to hide a tab, add data is gone. (sorry) Off the top of my head I do not know if that specific control has a hide method. Check for the property "Visible"

Best of luck

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.