wxListCtrl with CheckBox?

simo simoninusa2001 at yahoo.co.uk
Tue Apr 20 14:20:04 EDT 2004


Josiah Carlson <jcarlson at uci.edu> wrote:

> > I've got a report list and want to have a checkbox in the last column
> > of each row.

> Use wx.Grid, it can place checkboxes in cells.

I can't get that to work either, and I certainly can't get the grid
cells to line up with the listctrl rows anyway.

This is really holding up my program now, to move on any further I
really need some way of having a checkbox at the end of every row of a
few listctrl's.

I can't believe this hasn't already been written - someone must have
needed to have a "delete row" checkbox or button in a report
before.....

The only thing I can think of now is some sort of dynamic GridSizer
that works out the position of every row, but that's really nasty.



More information about the Python-list mailing list