Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.EndEditing procedure

Member of TCustomTreeViewprotectedIn unit ComCtrls

Updates the specified tree node and hides editor.

Declaration

pascal
procedure EndEditing(Cancel: Boolean=False); virtual

Description

No actions are performed in the method if tvsIsEditing has not been included in the States property (BeginEditing was not called).

EndEditing removes the value tvsIsEditing from the States property to indicate that editing has been completed for the control.

The OnEdited event handler is signalled (when assigned) to validate or modify the new text value, and the text is stored in Node.

EndEditing calls the Invalidate method to redraw the control.

See also

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