I have a tab control in a C# app and I'm trying to hide and show tabs based off of various user selections off of combo boxes, etc.
The problem is I have 8 tabs. I hide/show all the tabs in one routine. For some reason I am having controls from a tab that should be hidden, show up on one of the visible tabs. I'm not sure what the problem would be. Here is the code I am using.
myUltraTab.Tabs["tab1"].Visible = true;myUltraTab.Tabs["tab2"].Visible = false;myUltraTab.Tabs["tab3"].Visible = false;myUltraTab.Tabs["tab4"].Visible = true;myUltraTab.Tabs["tab5"].Visible = false;myUltraTab.Tabs["tab6"].Visible = true;myUltraTab.Tabs["tab7"].Visible = true;myUltraTab.Tabs["tab8"].Visible = false;
Figured out calling this logic in the wrong event was causing the issues.