On Jun 29, 2007, at 9:29 PM, johnf wrote:
> Larry and I are attempting to reuse classes we created for our > forms. In this > case a class that converts weights from lbs to kilos and displays > the results > in changing panels. I doubt this can be done at this time.
dColumn is simply an object wrapper for the various settings that affect a column in a grid. It isn't an actual control or anything; it just gives a Dabo-like API to modifying the appearance of a column.
Paul's idea of doing an addObject() for a column might be feasible, but only for the basic types, such as a list, etc., that already have wxPython renderers for them. A complex editor/renderer such as you seem to be describing would not be that simple to accomplish, as each would have its own needs.
-- Ed Leafe -- http://leafe.com -- http://dabodev.com
©2007 Ed Leafe |