RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.EndEdit Method

Ends the editing of a node's label.

Pascal
procedure EndEdit(Cancel: Boolean);
C++
__fastcall EndEdit(Boolean Cancel);

Call EndEdit to take the node out of edit mode. If the Cancel parameter is true, all changes made by the user are discarded. If Cancel is false, EndEdit updates the node's Text property and the tree view's OnEdited event occurs. 

 

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