ImageEn, unit iexColorPalette

TIEColorPalette.SelectedIndex

TIEColorPalette.SelectedIndex

Declaration

property SelectedIndex: Integer;

Description

Returns the index of the color cell that is currently selected (down).
If nothing is selected, -1 is returned.

Note: TIEColorPalette does not support multiple selection

Example

sel := IEColorPalette1.SelectedIndex;

See Also

SelectedColor