Sign in Join
FPDoc Onlineexperiment

TShellTreeView.OnEditing property

Member of TShellTreeViewpublishedIn unit ShellCtrls

Declaration

pascal
property OnEditing: ;

Description

Not described here; this is what TCustomTreeView.OnEditing says of it:

Event handler signalled to determine whether the editor can be enabled for a tree node.

OnEditing is a TTVEditingEvent property with the event handler signalled to determine whether an editor can be enabled for a node on the tree view control. OnEditing is signalled (when assigned) from the CanEdit method, and occurs when the BeginEditing method is called. This can be in response to a key down event handled for the tree view control, or when the EditText method is called for a TTreeNode instance in Items.

Arguments to the event handler include:

Sender
The object instance (TCustomTreeView) for the event.
Node
The TTreeNode instance to be edited on the control.
AllowEdit
A Boolean variable argument which indicates whether the node editor can be enabled for the tree node. The handler routine can set AllowEdit to False to prevent the node editor from being enabled.

Use OnEdited to perform actions needed when editing has been completed for the node.

Use OnEditingEnd to perform actions needed when a tree node is disconnected from the node editor for the control.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.