[wxPy] Why I can not change a ListItem property?

Tim Roberts timr at probo.com
Sat Dec 26 20:17:20 EST 2009


David <71david at libero.it> wrote:
>
>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.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list