directred
asked on
Tab Control Query - How do you hide a tabPage
How do you hide a tabPage within a tabcontrol?
There is no visible property in the tabPage properties .
What I want to do is, make a tabPage visible only when a certain parameter is selected.
There is no visible property in the tabPage properties .
What I want to do is, make a tabPage visible only when a certain parameter is selected.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In C#, the tabpage.Parent must be set to null, not Nothing.
It does work well.
It does work well.
That way, you still have the tabPage in memory, but it's not displayed ( and don't have to deal with
the logistics of creating/destroying said tabPage everytime that you want to use it ).
Cheers,
D.