RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.StateIndex Property

Specifies which image from the StateImages image list to display for the item.

Pascal
property StateIndex: TImageIndex;
C++
__property TImageIndex StateIndex;

Set StateIndex to associate the list item with one of the images in the StateImages property of the list view, where 0 specifies the first image. Change StateIndex to display a different image when the state of the item changes.  

The state image appears to the left of the normal list item. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!