Numbered CheckBox

Howdy. Before I embark on making one of these, I figured I'd ask if anyone's
seen a wx control that acts as an ordered checkbox.

In one of my dialogs, I want to load a list of items for the user to check
on/off, but these need to be ordered, because the order that they're checked
is the order that each of these items will be processed.

My inclination is to create a class derived from the standard checkboxlist,
and then override the click methods to keep a hidden ordered list of items
clicked, reordering them as items were unclicked. Probably I'd modify the
text string of the listed items with some sort of visual indicator of order
("Item1 (1), Item2, Item3 (2)"), etc.

Thanks for any insight.

Tim

Tim Royal wrote:

My inclination is to create a class derived from the standard checkboxlist,
and then override the click methods to keep a hidden ordered list of items
clicked, reordering them as items were unclicked. Probably I'd modify the
text string of the listed items with some sort of visual indicator of order
("Item1 (1), Item2, Item3 (2)"), etc.

That sounds like a good approach.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!