Sign in Join
FPDoc Onlineexperiment

TCSLVFileAddedEvent procedure type deprecated

In unit ShellCtrls

Deprecated. Specifies an event handler signalled when an item is added to TCustomShellListView.

Declaration

pascal
TCSLVFileAddedEvent = procedure(Sender: TObject; Item: TListItem)
 of object

Arguments

Sender

Object (control) generating the event notification.

Item

List item for the event notification.

Description

TCSLVFileAddedEvent specifies the interface for an event handler signalled when a TListItem instance is added to TCustomShellListView. TCSLVFileAddedEvent is the type used to implement the OnFileAdded event handler property in TCustomShellListView.

Applications must implement and assign an object procedure using the event signature to respond to the notification. Sender must be cast to the correct class type to access properties and methods in the control for the notification. Or, use the ListView property in the Item argument.

See also

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