Vcl.ComCtrls.TCustomTreeView.OnEditing

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnEditing: TTVEditingEvent read FOnEditing write FOnEditing;

C++

__property TTVEditingEvent OnEditing = {read=FOnEditing, write=FOnEditing};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Occurs when the user starts to edit the Text property of a node.

Write an OnEditing event handler to determine whether the user is allowed to edit the label of a specific node in the tree view. Set the AllowEdit parameter to false to prevent the user from editing the node specified by the Node parameter. To disallow editing of all nodes in the tree view, use the ReadOnly property instead.

OnEditing is an event handler of type Vcl.ComCtrls.TTVEditingEvent.

See Also