Hello Dave,
Hello All. I was just looking around to see if an individual
notebook page could be disabled and enabled. So, that the
I don't think it is possible with a wx.Notebook, but you may probably take a look at NotebookCtrl:
http://xoomer.virgilio.it/infinity77/eng/freeware.html#notebookctrl
Or:
http://sigmacore.net/andrea/?page_id=2
It does what you are looking for and much more
To enable/disable a page, just call:
- Enable : NC.EnablePage(numPage, True)
- Disable : NC.EnablePage(numPage, False)
You will get a greyed out text on the tab and a greyed out icon if your tab has an icon, and the user won't be allowed to access that page as long as you don't re-enable it.
HTH.
Andrea.
···
_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London
Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯