RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.Collapse Method

Collapses an outline item.

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

Collapse sets the Expanded property to false. When an outline node is collapsed, its descendants are hidden and, depending on the OutlineStyle property of the outline in which the node is contained, the plus picture or closed picture is displayed. 

Collapse does nothing to nodes that have no descendants. 

 

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