Using the standard TListView component (ViewStyle = vsReport
), I have attached a TImageList and have successfully added images to both the first column (Item.ImageIndex := 0
) and to the subsequent columns (Items[0].SubItemImages[1] := 1
).
If I then set the CheckBoxes property to True, the images on SubItems disappear. The main image remains (the one set by Item.ImageIndex
) but the SubItems lose their images.
I have also noticed that the OnGetSubItemImage
event doesn't fire when CheckBoxes = True
Does anyone know of a way around this?