Vcl.ComCtrls.TCustomTreeView.CanEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanEdit(Node: TTreeNode): Boolean; dynamic;

C++

DYNAMIC bool __fastcall CanEdit(TTreeNode* Node);

Properties

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

Description

Node editing event dispatcher.

CanEdit is called automatically whenever an attempt is made to edit the node specified by the Node parameter. CanEdit returns true if the user can edit the specified node, false otherwise.

If there is no OnEditing event handler, CanEdit returns true.

Override this method to make additional, class-specific responses in addition to the OnEditing event or to suppress the OnEditing event.

See Also