RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTVEditingEvent Type

Used in the TCustomTreeView.OnEditing event.

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

ComCtrls

This event is used in the TCustomTreeView.OnEditing event when the user starts to edit the Text property of a node. 

Sender is the tree-view control in which an item is about to be edited.  

Node is the item whose label is about to be edited. 

AllowEdit indicates whether the user is allowed to edit the label of the node specified by the Node parameter. 

 

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