04-16-2005, 10:44 AM | #1 (permalink) |
Insane
Location: West Virginia
|
[C#] Hiding a Tab
Okay I have the following:
Code:
private System.Windows.Forms.TabPage tab1; Code:
tab1.Hide(); Thanks
__________________
- Artsemis ~~~~~~~~~~~~~~~~~~~~ There are two keys to being the best: 1.) Never tell everything you know |
04-17-2005, 12:37 AM | #3 (permalink) |
Insane
Location: West Virginia
|
No. There is a visible property for the tab controller that holds all of the tabs, but hiding it obviously hides all tabs.
__________________
- Artsemis ~~~~~~~~~~~~~~~~~~~~ There are two keys to being the best: 1.) Never tell everything you know |
04-17-2005, 08:04 PM | #4 (permalink) |
Über-Rookie
Location: No longer, D.C
|
ugh.. I want to say I have done this, but I don't remember completely.
I can tell you a dirty hack to get the needed output. Build two Tab Containers and when they click something make one of them visible and hide the other one. This will basically just switch out the entire controller for the "new" one. |
Tags |
hiding, tab |
|
|