Hello.
I'm starting development of a new application and moving away from Visual Basic was considering wxPython. The application needs to show a list on the left of the screen, and a grid widget on the right, aligned with the correct list elements.
If the list on the left grows longer than the screen height, a vertical bar will appear. I would like the scrollbar to show always, and bind its movement events to the grid on the right, which would still have an independant horizontal scrollbar.
I guess this can be done directly at the wxwidgets level, but is it possible to do this at wxpython without going deep into C++ code?
Also, I'm going to use a custom renderer for the grid cells to draw values as little boxes (much like a gantt diagram), so for complex cells I was considering making the height taller than a normal text height. For this, I would need to expand the size of the listbox on the left. Can it also use custom renderers for this purpose?
All in all, maybe this is too weird and going in the wrong direction. Another solution for me would be to use a grid with a vertical scrollbar inserted between the first and second columns, and a horizontal bar going from the second column to infinity (like you can do with excel).
Or is there already something implemented like what I'm describing? I would really welcome pointers to other people who have made such customisations (ie. binding two widget's scrollbars or using custom renderers).
···
--
Grzegorz Adam Hankiewicz, Jefe de producto de TeraVial
Rastertech España S.A. Tel: +34 918 467 390, ext 18.
http://www.rastertech.es/ ghankiewicz@rastertech.es