RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTVChangingEvent Type

Used in the TCustomTreeView.OnChanging event.

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

ComCtrls

This event is used in the TCustomTreeView.OnChanging event when the selection is about to change from one node to another. 

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

 

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