RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.OnEditing Event

Occurs when the user starts to edit the Text property of a node.

Pascal
property OnEditing: TTVEditingEvent;
C++
__property TTVEditingEvent OnEditing;

Write an OnEditing event handler to determine whether the user is allowed to edit the label of a specific node in the tree view. Set the AllowEdit parameter to false to prevent the user from editing the node specified by the Node parameter. To disallow editing of all nodes in the tree view, use the ReadOnly property instead. 

 

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