[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomTreeView.IsEditing

Indicates if the control is currently editing a node in the tree.

## Declaration

Source position: comctrls.pp line 3724

`public function TCustomTreeView.IsEditing: Boolean;`

## Function result

True if the tvsIsEditing flag is present in States.

## Description

IsEditing is a Boolean function used to determine whether the control is currently editing a node in the tree view. IsEditing checks the values in the State property for the tvsIsEditing flag value. The return value is True when tvsIsEditing is present in the States property.

When present, the BeginEditing method has been called and the EndEditing method has not yet been called.

## See also

TCustomTreeView.States |  | Contains the state values in effect for the control.
TCustomTreeView.BeginEditing |  | Prepares the control to edit the text for the specified tree node.
TCustomTreeView.EndEditing |  | Updates the specified tree node and hides editor.
TTreeViewStates |  | Set type used to store values from the TTreeViewState enumeration.
TTreeViewState |  | TTreeViewState - enumerated type containing the permissible values for state of a TTreeView.