Sign in Join
FPDoc Onlineexperiment

TTreeNode.EndEdit procedure

Member of TTreeNodepublicIn unit ComCtrls

Ends editing of the tree node in the associated tree view control.

Declaration

pascal
procedure EndEdit(Cancel: Boolean)

Arguments

CancelTrue if the edited value for Text is discarded.

Description

EndEdit calls the EndEditing method in TreeView control to apply the new value in the control Editor to the Text for the node. Cancel indicates whether the modified text value for the node should be discarded. When set to False, the modified value is stored in the Text property for the node. The OnEdited event handler in TreeView is signalled (when assigned) and Invalidate is called to cause the control to be redrawn.

No actions are performed in the method if TreeView has not been assigned for the node.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.