Hello,
I would like to disable a TabPage of a TabControl, but I don't know how to do:
TabPage has two properties (CanFocus and CanSelect), but they are both read-only (so I can't use them).
There is also the Hide() method (I would prefer to disable the TabPage, not make it invisible, but if I have no chance...), but it has no effect (after running the
tp.Hide();
statement, the TabPage is still visible).
Have you any suggestion?
Thank you
I would like to disable a TabPage of a TabControl, but I don't know how to do:
TabPage has two properties (CanFocus and CanSelect), but they are both read-only (so I can't use them).
There is also the Hide() method (I would prefer to disable the TabPage, not make it invisible, but if I have no chance...), but it has no effect (after running the
tp.Hide();
statement, the TabPage is still visible).
Have you any suggestion?
Thank you