Vcl.ComCtrls.TTVExpandingEvent
Delphi
TTVExpandingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowExpansion: Boolean) of object;
C++
typedef void __fastcall (__closure *TTVExpandingEvent)(System::TObject* Sender, TTreeNode* Node, bool &AllowExpansion);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
This event is used in the TCustomTreeView.OnExpanding event when a node is about to be expanded.
Sender is the tree-view control in which a node is about to be expanded.
Node is the node about to be expanded.
AllowExpansion indicates whether the node can be expanded.