TVirtualStringTree.OnNewText Event

Virtual Tree View

Virtual string tree event to pass edited text.

Pascal
property OnNewText: TVSTNewTextEvent;
Description

A string tree will fire this event after a node has been edited successfully (not canceled with Escape). The event handler must store the new text in the node data. 

 

This event will only be used for the default node caption editor. Other custom node editors may or may not use this event to pass their edited data to the application. Editing for the whole tree is only possible if the MiscOptions (see TreeOptions) include toEditable. If only certain columns or nodes should be editable write an event handler for OnEditing. 

 

See Also

OnCreateEditor, OnEdited

Class
Links
What do you think about this topic? Send feedback!