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)();

ComCtrls

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!