RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTVCollapsingEvent Type

Used in the TCustomTreeView.OnCollapsing event.

Pascal
TTVCollapsingEvent = procedure (Sender: TObject; Node: TTreeNode; var AllowCollapse: Boolean) of object;
C++
(Sender: TObject; Node: TTreeNode; var AllowCollapse: Boolean) ( TTVCollapsingEvent)();

ComCtrls

This event is used in the TCustomTreeView.OnCollapsing event when a node is about to be collapsed. 

The Sender parameter is the tree view whose selected node collapses, and the Node parameter specifies the node that is about to be collapsed. AllowCollapse indicates whether the node can collapse or not. 

 

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