Make a NoteBook Page unselectable?

Hi,
Is it possible to make notebook page unselectable.
I want to see it, but not be able to select it.
I want to ".Enable(False)" like other controls.

Thanx
Holmis

S.Holmgren wrote:

Hi,
Is it possible to make notebook page unselectable.
I want to see it, but not be able to select it.
I want to ".Enable(False)" like other controls.

You can veto the change to a page using the EVT_NOTEBOOK_PAGE_CHANGING event and checking event.GetSelection to see if it is the page you want to block access to.

ยทยทยท

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