RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.Expand Method

Expands the node to display all child nodes.

Pascal
procedure Expand(Recurse: Boolean);
C++
__fastcall Expand(Boolean Recurse);

When a node is expanded, its immediate subnodes are displayed. The minus '-' button may be displayed, depending on whether the tree view's ShowButtons property is set. If Recurse is true, all descendants of the immediate subnodes are expanded as well. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!