RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.OnCollapsing Event

Occurs when a node is about to be collapsed.

Pascal
property OnCollapsing: TTVCollapsingEvent;
C++
__property TTVCollapsingEvent OnCollapsing;

The TTVCollapsingEvent type points to a method that is called when a node is about to be collapsed. Set the AllowCollapse parameter to false to prevent the node specified by the Node parameter from being collapsed. 

 

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