EndEdit(Cancel: Boolean);
Cancel - input logical parameter that determines whether the changes made by the user in the text of the component are canceled. If parameter is set to True, the changes of the text of element made by the user are ignored; when the parameter is set to False, the changes of the text of element made by the user are saved.
The EndEdit method enables the user to exit the edit mode of the text of the tree elements.
See also: