TTreeNode.DeleteChildren procedure
Removes all child nodes and descendants in the tree structure.
Declaration
procedure DeleteChildrenDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
