Sign in Join
FPDoc Onlineexperiment

TLVSelectItemEvent procedure type

In unit ComCtrls

Specifies an event handler signalled when the selected state is changed for an item on a list view control.

Declaration

pascal
TLVSelectItemEvent = procedure(Sender: TObject; Item: TListItem; 
 Selected: Boolean) of object

Arguments

Sender

Object for the event notification. It must be cast to the TCustomListView type to access properties or methods specific to the list view control.

Item

TListItem for the event notification,

SelectedTrue if the list item is selected.

Description

TLVSelectItemEvent is the type used to implement the OnSelectItem event handler in TCustomListView.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.