![]() |
[C#] Hiding a Tab
Okay I have the following:
Code:
private System.Windows.Forms.TabPage tab1; Code:
tab1.Hide(); Thanks :) |
It's been a little bit since I've worked with C# doing Windows Forms, but the Tag object should have a "Visible" property - can you set it to false?
|
No. There is a visible property for the tab controller that holds all of the tabs, but hiding it obviously hides all tabs.
|
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. |
This might be what you want:
Code:
// "hide" tab page |
i love you
|
All times are GMT -8. The time now is 05:42 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project