Vcl.ComCtrls.TTVChangingEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

Type Visibility Source Unit Parent
typedef public 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