when deleting tabs in NotebookCtrl from
http://xoomer.alice.it/infinity77/eng/NotebookCtrl.html
Ah, the neverending NotebookCtrl
Onwindow selecting page 41
Onwindow selecting page 27
Uhm, do you have 41 tabs in your Notebook??? If this is the case, you should probably consider a re-design...
Traceback (most recent call last):
File "Q:\nlpMain.py", line 3547, in OnWindow
self.nb.SetSelection(cnt)
File "Q:\NotebookCtrl.py", line 4207, in SetSelection
self.nb.SetSelection(nPage)
File "Q:\NotebookCtrl.py", line 1236, in SetSelection
self.EnsureVisible(self._selection)
File "Q:\NotebookCtrl.py", line 1278, in EnsureVisible
firstrect = self._initrect[spinval]
IndexError: list index out of range
Have you used the demo that comes with NotebookCtrl? If not, you know we need a sample that reproduces the problem .
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
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯