RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.Expand Method

Expands an outline item.

Pascal
procedure Expand;
C++
__fastcall Expand();

Expand sets the Expanded property to true. When an outline node is expanded, its descendants are displayed and, depending on the OutlineStyle property of the outline in which the node is contained, the minus picture or open picture is displayed. 

Expand does nothing to nodes that have no descendants.

Note: Expand only ensures that the immediate children of a node are visible. To expand all descendants of a node, use the FullExpand method.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!