Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.OnEditingEnd property

Member of TCustomTreeViewprotectedIn unit ComCtrls

Event handler signalled when EndEditing is called for the control.

Declaration

pascal
property OnEditingEnd: TTVEditingEndEvent read FOnEditingEnd write FOnEditingEnd;

Description

OnEditingEnd is a TTVEditingEndEvent property with the event handler signalled when the node editor for the tree view control is deactivated or reset. It is signalled (when assigned) from the EndEditing method, which occurs during node selection or scrolling and when a tree node calls its EndEdit method.

Arguments to the event handler include:

Sender
The object instance (TCustomTreeView) for the event.
Node
The tree node which was edited on the control.
Cancel
A Boolean value which indicates if the editing is being cancelled. False generally indicates that editing is being reset due to selection or scrolling of tree nodes on the control.

Use OnEditingEnd to perform any action needed that result from the editing action or the node editor reset.

See also

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