[wxPy] Why I can not change a ListItem property?
David
71david at libero.it
Sun Dec 27 14:53:41 EST 2009
Il Sat, 26 Dec 2009 17:17:20 -0800, Tim Roberts ha scritto:
>>I have la ListCtrl in LC_REPORT mode and i need to change the color of a
>>single cell.
>
> That can't be done. In LC_REPORT mode, the whole row has to be the same
> color. You can't change individual cells within a row.
>
> You need an owner-draw control. See the ListCtrl_virtual.py example, for
> instance.
Thank you for explanation. I am looking at the UltimateListCtrl class by
Andrea Gavana that allow finer control over the single cell attributes.
David.
More information about the Python-list
mailing list