OnItemSelected event (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

void __fastcall ItemSelected(TObject *Sender, int nIndex)

Delphi Syntax

procedure ItemSelected(Sender: TObject; nIndex: Integer)

Overview

Refer to Using the ImageList Control.

Remarks

Occurs when an item’s Selected attribute is automatically set to True in response to the user clicking the item.

See Also

Elements:

AllowSelection property, SelectionStyle property, SelectionColor property, Item property

Topics:

Raster Images: Displaying Images