TListItem.ImageIndex property
Ordinal position for the image displayed for the list item.
Declaration
property ImageIndex: TImageIndex read GetImageIndex write SetImageIndex default - 1;Description
ImageIndex is a
TImageIndex property with the position
for the image displayed for the list item. It is the ordinal position in the
LargeImages or SmallImages properties in the ListView for the item.
The default value for the property is -1, and indicates that an explicit value has not been assigned. ImageIndex can be assigned at design-time in the Lazarus Object Inspector, or at run-time. Changing the property value causes the ListView widgetset class to be updated when its handle has been assigned.
Use StateIndex to specify the position for the state image used on the list item.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
