[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ShellCtrls' (#lcl)

TCustomShellTreeView.OnAddItem

Event handler signalled when an item (tree node) is added to the shell control.

Declaration

Source position: shellctrls.pas line 111

public property TCustomShellTreeView.OnAddItem : TAddItemEvent
  read FOnAddItem
  write FOnAddItem;

Description

OnAddItem is a TAddItemEvent property which contains the event handler signalled when an item (tree node) is added to the shell control. OnAddItem is signalled from the PopulateTreeNodeWithFiles method, and allows the base path and file information for each file to be checked before it is added to the tree view.

See also

TCustomShellTreeView.PopulateTreeNodeWithFiles

  

Adds tree nodes for file system objects found starting at the specified node / path.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.