Skip to main content

IdxTreeOwner.BeforeDelete(TdxTreeCustomNode) Method

Ensures that specific actions are performed before a node is destroyed.

Declaration

procedure BeforeDelete(ASender: TdxTreeCustomNode);

Parameters

Name Type
ASender TdxTreeCustomNode

Remarks

A common practice for method implementation is releasing resources associated with a node before the node is destroyed (see the node’s Data property).

In the base implementation, the method is called by the ASender‘s destructor.

ASender specifies the node that will be deleted.

See Also