RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.SubItemImages Property

Indicates which images (if any) should appear next to subitems of the item.

Pascal
property SubItemImages [Index: Integer]: Integer;
C++
__property int SubItemImages[int Index];

Use SubItemImages to associate the subitems of this list item with images from the list view's SmallImages property, where 0 identifies the first image in SmallImages, 1 identifies the second image, and so on. 

The Index parameter identifies the subitem. It corresponds to the index of each subitem string in the SubItems property. 

The value of any subitem image index can be overridden in an OnGetSubItemImage event handler.

Note: Subitems are only visible when the list view's ViewStyle property is set to vsReport.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!