Hi. I'm trying to find a way to change the font colour of items in a wx
ListBox based on some state that corresponds to that item. E.g., if you
have a ListBox of numbers, primes will be displayed in red.
I'm relatively new to wxPython and I'm having trouble finding this
information in the docs/demo/web.
Thanks in advance for any help.
-cjl
···
-----------------
In theory, there is no difference between
theory and practice, but in practice there is.
Hi. I'm trying to find a way to change the font colour of items in a wx
ListBox based on some state that corresponds to that item. E.g., if you
have a ListBox of numbers, primes will be displayed in red.
"Use source Luke!"
See wxPython demo - Core windows controls\ListCtrl
"Billy Joel Famous Last Words Rock" item is in red there...
···
--
Igor
Tuesday, June 21, 2005, 10:25:44 PM,Вы писали:
Hi. I'm trying to find a way to change the font colour of items in a wx
ListBox based on some state that corresponds to that item. E.g., if you
have a ListBox of numbers, primes will be displayed in red.
Oop, sorry. I missed that you need ListBox...
Don't know if it possible.
I don't use ListBox because ListCtrl is much more powerfull!
Also you can take a look at VListBox - each item is simple html.
wxPython demo \ More Windows Control \ VListBox
···
--
mailto:igor@tyumbit.ru