Hey All,
I've having some issues with Andrea Gavana's NotebookCtrl.
First, hiding tabs doesn't work for me, both programmatically and using
the drop-down menu that appears when you enable hiding. It doesn't work
in the demo either, so I'm pretty sure it's not my code. I'm using
WinXP, Python 2.5.1, wxPython 2.8.3.0, and although the control doesn't
have a version string, it's dated Oct 2006. Does anyone have some
thoughts as to why hiding is not working?
The second problem is that controls on pages other than the initial one
aren't being drawn at the right time. I build my notebook by setting up
some custom panels and then using .AddPage(panel, name) to put them in
the notebook. All seems fine, except when I click through the panels,
the some controls aren't being drawn properly (some wx.BitmapButtons and
the "+" images for expanding nodes of a few wx.lib.customtreectrl's).
And by not drawn properly, I mean that there's random screen debris
where the images should be. However, the *second* time I click the tab,
the controls are drawn fine. I've looked at the demo (which other than
the hiding issue mentioned above works fine), and I don't see that I'm
doing anything differently although the demo doesn't use the exact same
widgets that I'm using. I could modify the demo, but I suspect that
it'd work fine. Does anyone have any thoughts or suggestions as to why
these widgets aren't drawing correctly?
Thanks,
Anthony.
ยทยทยท
--
Anthony Floyd, PhD
Convergent Manufacturing Technologies Inc.
6190 Agronomy Rd, Suite 403
Vancouver BC V6T 1Z3
CANADA
Email: Anthony.Floyd@convergent.ca | Tel: 604-822-9682
WWW: http://www.convergent.ca | Fax: 604-822-9659
CMT is hiring: See http://www.convergent.ca for details