RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.OverlayIndex Property

Determines which image from the image list is used as an overlay mask.

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

Use OverlayIndex to display an overlay mask on an item in the list when the ViewStyle of the list view is vsIcon or vsSmallIcon. OverlayIndex is the index of the overlay image in the StateImages property of the list view.  

An overlay mask is an image drawn transparently over the icon for the item in the list view. For example, to indicate that an item is no longer available, an application could use an overlay image of an X over the item's image. 

 

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