Vcl.ComCtrls.TListView.OnGetImageIndex

From RAD Studio API Documentation

Delphi

property OnGetImageIndex: TLVNotifyEvent read FOnGetImageIndex write FOnGetImageIndex;

C++

__property OnGetImageIndex;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListView

Description

Occurs when an item is about to be displayed in the list view control. {{#multireplace:Vcl.ComCtrls.TListView.OnGetImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ComCtrls.TCustomListView.OnGetImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ComCtrls.TCustomListView.OnGetImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs when an item is about to be displayed in the list view control.

Use OnGetImageIndex to dynamically assign an ImageIndex to the item before it is displayed in the list view control.

OnGetImageIndex is an event handler of type Vcl.ComCtrls.TLVNotifyEvent.

See Also