Disabling a Page on Tab panel | SoloLearn: Learn to code for FREE!

0

Disabling a Page on Tab panel

How does one go about disabling a Page in a tab Panel pragmatically

2/4/2019 11:09:02 AM

Sizwe Malaza

3 Answers

New Answer

+1

All winforms controls as inheritors of the class Control have the property 'enabled'. Try to use it.

+1

It's strange. Do you need to disable all sub controls on your tab? If it's true and enabled does nor work for your tab you can add a simple win panel to the tab, put the subcontrols on it and then enable disable this panel.

0

yes the do but the enabled property doesnt apply for tab pages