Aan Aan - 1 year ago 121
C# Question

Disable and hide a TabPage

How I can make a

in a
visible/hidden and enabled/disabled?

Answer Source

You maybe missing the obvious because neither of the following removes/changes the look of the tab

        tabPage1.Enabled = false; // this disables the controls on it
        tabPage1.Visible = false; // this hides the controls on it.

Neither remove the tab from the list at the top.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download