Vcl.ComCtrls.TTVChangingEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTVChangingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowChange: Boolean) of object;

C++

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

Properties

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

Description

Used in the TCustomTreeView.OnChanging event.

This event is used in the TCustomTreeView.OnChanging event when the selection is about to change from one node to another.

The Sender parameter is the tree view whose selected node changes, and the Node parameter specifies the node that is about to be selected. AllowChange indicates whether the node can be selected or not.

See Also