Vcl.ComCtrls.TTreeNode.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TTreeNodes); virtual;

C++

__fastcall virtual TTreeNode(TTreeNodes* AOwner);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeNode

Description

Creates an instance of TTreeNode.

Call Create to instantiate a tree node at runtime. Nodes added to a tree view control at design time are created automatically. Use the methods of the TTreeNodes object instead to create nodes as part of an existing tree view.

After calling the inherited constructor, Create sets the OverlayIndex and StateIndex properties to -1 and then sets the Owner property of the tree node to the AOwner TTreeNodes object.

See Also