RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComboExItem.SelectedImageIndex Property

Identifies the image associated with this item when it is selected.

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

Set SelectedImageIndex to specify the image that appears beside this item's text when it is selected. SelectedImageIndex is an index into the Images property of the combo box. 

When the item is not selected, the combo box displays the image specified by the ImageIndex property instead. If SelectedImageIndex is –1, the combo box also displays the image identified by the ImageIndex property when the item is selected.

Note: To mask out portions of the image that SelectedImageIndex specifies, you can identify an overlay mask using the OverlayImageIndex property.
 

 

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