RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.Edit Method

Edited event dispatcher.

Pascal
procedure Edit(const Item: TTVItem); dynamic;
C++
__fastcall Edit(const TTVItem Item);

Edit is called automatically when the user edits the text of a tree view node. The Item parameter is the data structure supplied by the Windows control that identifies the node that was edited and the new value of its text. Edit unpacks this information into the parameters of an OnEdited event handler, and allows the event handler to change the value of the node's text. 

 

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