TCustomTreeView.OnDeletion property
Event handler signalled when a node is deleted from the node tree.
Declaration
property OnDeletion: TTVExpandedEvent read FOnDeletion write FOnDeletion;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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
