EndEdit(Cancel: Boolean);
Cancel is an input logic parameter that determines whether the changes made by the user in the text of the component should be cancelled. If parameter is set to True, the changes of the text of element made by user are ignored, when the parameter is set to False, the changes of the text of element made by user are saved.
The EndEdit method allows to escape from the edit mode of the text of the tree elements.
See also: