TdxTreeCustomNode.Clear Method
Destroys the node’s children.
#Declaration
procedure Clear; virtual;
#Remarks
The Clear and DeleteChildren procedure calls produce the same effect.
Note
A Clear procedure call does not destroy objects whose pointers are stored in the Data property of deleted nodes.