RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTVExpandingEvent Type

Used in the TCustomTreeView.OnExpanding event.

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

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. 

 

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