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

TTreeNodes.Destroy

Destructor for the class instance.

Declaration

Source position: comctrls.pp line 3227

public destructor TTreeNodes.Destroy; override;

Description

Destroy is the overridden destructor for the class instance. Destroy calls Clear to remove TTreeNode instances stored in Item and values in the internal cache. The selection list for the class instance is also cleared, and its allocated resources are freed. Destroy calls the inherited method prior to exit.

See also

TTreeNodes.Clear

  

Removes tree nodes in the container and its internal cache.

TTreeNodes.Item

  

Provides indexed access to the TTreeNode instances in the container.

TTreeNodes.BeginUpdate

  

Starts an update process for the tree nodes in the container.

TTreeNodes.EndUpdate

  

Finishes an update process for the tree nodes in the container.

TTreeNode.Delete

  

Frees the current tree node when the Deleting property is not True.

TPersistent.Destroy


Version 3.2 Generated 2024-02-25 Home