Hi everyone!
In my application (under windows) I’m using a wx.checklistbox. I would like the background color of an item to become red whenever an EVT_LISTBOX_DCLICK occurs. Is there any simple way to achieve it?
Thanks in advance.
Hi everyone!
In my application (under windows) I’m using a wx.checklistbox. I would like the background color of an item to become red whenever an EVT_LISTBOX_DCLICK occurs. Is there any simple way to achieve it?
Thanks in advance.
Massi wrote:
Hi everyone!
In my application (under windows) I'm using a wx.checklistbox. I would like the background color of an item to become red whenever an EVT_LISTBOX_DCLICK occurs. Is there any simple way to achieve it?
ListBox (and CheckListBox) do not support coloring the items (that's not quite true, but close enough) but you can easily do it with a wx.ListCtrl. With the wx.LC_REPORT and wx.LC_NO_HEADER it is almost the same as a wx.ListBox from the user's perspective.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!