Hi all!
I'm looking for an advice.. How would you show multiple images in a virtual+report wx.ListCtrl?
For example, I need to show the listing of a fax queue and every row should have two left-aligned icons (one beside the other): "inbound" / "outbound" and "transmission complete" / "transmission not complete"
Is the only way building beforehand every possible "composition" of the images? (Programmatically of course)
Hi all!
I'm looking for an advice.. How would you show multiple images in a
virtual+report wx.ListCtrl?
For example, I need to show the listing of a fax queue and every row should
have two left-aligned icons (one beside the other): "inbound" / "outbound"
and "transmission complete" / "transmission not complete"
Is the only way building beforehand every possible "composition" of the
images? (Programmatically of course)
I do have an owner-drawn listctrl class (called UltimateListCtrl)
which does multiple images for items (plus other many things), but I
am reluctant to upload it in wxPython SVN as it doesn't have almost
any documentation and it is not bug free. If I can get some time I'll
try to finish it, otherwise (if Robin doesn't object about a class
with almost no docs) I'll put it in SVN as it is...
Hi all!
I'm looking for an advice.. How would you show multiple images in a virtual+report wx.ListCtrl?
For example, I need to show the listing of a fax queue and every row should have two left-aligned icons (one beside the other): "inbound" / "outbound" and "transmission complete" / "transmission not complete"
Is the only way building beforehand every possible "composition" of the images? (Programmatically of course)
You could make some columns that have no text and just show the images. This will probably require them to be spaced out a little more than you would if going the composition route, but it would be fairly simple to do.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Robin Dunn wrote:
>> I'm looking for an advice.. How would you show multiple images in a virtual+report wx.ListCtrl?
>
> You could make some columns that have no text and just show the images. This will probably require them to be spaced out a little more than you would if going the composition route, but it would be fairly simple to do.
Ouch, I had completely missed the OnGetItemColumnImage method.. I'll try with that, thanks
Robin Dunn wrote:
>> I'm looking for an advice.. How would you show multiple images in a virtual+report wx.ListCtrl?
>
> You could make some columns that have no text and just show the images. This will probably require them to be spaced out a little more than you would if going the composition route, but it would be fairly simple to do.
Ouch, I had completely missed the OnGetItemColumnImage method.. I'll try with that, thanks