RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.Collapse Method

Generates an OnCollapse event.

Pascal
procedure Collapse(Index: LongInt); dynamic;
C++
__fastcall Collapse(LongInt Index);

Collapse is called automatically after a node in the outline is collapsed. It calls the OnCollapse event handler if it is assigned. 

Override the Collapse method to provide additional processing after nodes in the outline have been collapsed, or to block the OnCollapse event. 

 

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