C# How to disable Tab Page in Tab Control
Posted on 2011-09-12
I've been unsuccessful disabling tab pages in my app.
Prior to the user selecting 'Run' I require the result tabs to be disabled (preferrably invisible, greyed out ok).
this.ExampleTabPage.Enabled = false;
athough it makes no difference.
The only way I see it working is to add ExampleTabPage to the TabControl when the Run() has been completed.
MyPages.designer.cs configures the tabs, including the RunTab. The RunTab contains the RunControl.
I'm having difficulty working out how to update the tabs in the RunControl. I haven't updated designer variables before.