[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Removes all child nodes and descendants in the tree structure.
Source position: comctrls.pp line 3136
public procedure TTreeNode.DeleteChildren; |
DeleteChildren clears the node cache in the TTreeNodes owner prior to removing any child nodes in Items. It calls the Collapse method with recursion to set the child nodes and their descendent nodes to the collapsed state. The HasChildren property is set to False to update the States flag values in the node and cause the TreeView control to be redrawn.
|
Contains active state flags for the tree node. |
|
|
Collapses the current tree node, and optionally collapses any descendent nodes. |
|
|
Indicates whether the tree node has child nodes. |
Version 4.0 | Generated 2025-05-03 | Home |