Sign in Join
FPDoc Onlineexperiment

TTreeView.OnDeletion property

Member of TTreeViewpublishedIn unit ComCtrls

Event handler signalled when a node is deleted from the node tree.

Declaration

pascal
property OnDeletion:;

Description

OnDeletion is a TTVExpandedEvent property with the event handler signalled when a tree node is deleted from the node tree in the Items property. It is signalled (when assigned) from the Delete method. It occurs when a TTreeNode instance in Items is freed.

Arguments to handler routine include:

Sender
The object instance (TCustomTreeView) for the event notification.
Node
The TTreeNode instance which is being deleted.

OnDeletion occurs after the States property in the tree view has been updated to include nsDeleting, and before the TTreeNode instance is destroyed.

This description is the one of ComCtrls.TCustomTreeView.OnDeletion.

See also

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