Vcl.ComCtrls.TTVEditingEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTVEditingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowEdit: Boolean) of object;

C++

typedef void __fastcall (__closure *TTVEditingEvent)(System::TObject* Sender, TTreeNode* Node, bool &AllowEdit);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

Used in the TCustomTreeView.OnEditing event.

This event is used in the TCustomTreeView.OnEditing event when the user starts to edit the Text property of a node.

Sender is the tree-view control in which an item is about to be edited.

Node is the item whose label is about to be edited.

AllowEdit indicates whether the user is allowed to edit the label of the node specified by the Node parameter.

See Also