Disabling tabs on a wxNotebook?

Hi,

Is there any way to disable a tab on a wxNotebook. I can't see one in the
docs.

I could fake it by vetoing page change event but I would prefer the tabs to
be greyed out for a bit of visual feedback. Any ideas?

Thanks,

Rich.

Richard Cooper wrote:

Hi,

Is there any way to disable a tab on a wxNotebook. I can't see one in the
docs.

No.

I could fake it by vetoing page change event but I would prefer the tabs to
be greyed out for a bit of visual feedback. Any ideas?

Depending on the contents of your page you may be able to disable the page itself and have some good feedback. Another option is to use icons on the tabs and change the icon when you want feedback that a page is disabled.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!