Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.OnAddItem property

Member of TCustomShellListViewpublicIn unit ShellCtrls

Event handler signalled to determine if the specified file information can be added to the Items for the list view.

Declaration

pascal
property OnAddItem: TAddItemEvent read FOnAddItem write FOnAddItem;

Description

OnAddItem is a TAddItemEvent property used to implement the event handler. It is signalled to determine if the specified file can be added to the Items for the list view.

Arguments passed to the event handler identify the base path and file information examined in the procedure. Use the CanAdd argument to indicate if the file information can be added in a calling routine. See TAddItemEvent for more information about the event handler definition.

OnAddItem is signalled from the DoAddItem method (when assigned).

See also

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