ListCtrl -- how to set an item's text attributes =within= a report column?

Bob Klahn wrote:

I am using a ListCtrl in report mode, and need to be able to set list items' text attributes =within= a column.

E.g., I might want an item's text in a given column look like this: "This is really nice."

How do I accomplish that? I'm hoping to be able to stay with a ListCtrl and not have to switch to, say, a Grid control. Apart from within-report-column text attribute setting, the ListCtrl is doing everything else that I need.

Sorry, but wx.ListCtrl doesn't support text attributes within the item strings. It's all or nothing.

It's possible that the upcoming data view control will be able to do things like that (since it will support plug-in views for items) but it will still be a while before it is ready for use, and it likely won't be in the 2.8.x series at all.

ยทยทยท

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