Vcl.ComCtrls.TTreeView.OnEditing
Delphi
property OnEditing: TTVEditingEvent read FOnEditing write FOnEditing;
C++
__property OnEditing;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeView |
Description
Occurs when the user starts to edit the Text property of a node.
Vcl.ComCtrls.TTreeView.OnEditing inherits from Vcl.ComCtrls.TCustomTreeView.OnEditing. All content below this line refers to Vcl.ComCtrls.TCustomTreeView.OnEditing.
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.