Vcl.ComCtrls.TTVCreateNodeClassEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTVCreateNodeClassEvent = procedure(Sender: TCustomTreeView; var NodeClass: TTreeNodeClass) of object;

C++

typedef void __fastcall (__closure *TTVCreateNodeClassEvent)(TCustomTreeView* Sender, TTreeNodeClass &NodeClass);

Properties

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

Description

TTVCreateNodeClassEvent is the type of a tree view's TCustomTreeView.OnCreateNodeClass event handler.

Sender is the tree view object that is about to add a new node.

NodeClass returns a class reference that is instantiated to create a new node object.

See Also