Vcl.ComCtrls.TTVCollapsingEvent
Delphi
TTVCollapsingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowCollapse: Boolean) of object;
C++
typedef void __fastcall (__closure *TTVCollapsingEvent)(System::TObject* Sender, TTreeNode* Node, bool &AllowCollapse);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
Used in the TCustomTreeView.OnCollapsing event.
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.