TdxTreeCustomNode.AddNode(TdxTreeCustomNode,TdxTreeCustomNode,Pointer,TdxTreeNodeAttachMode) Method
In This Article
Adds a node.
#Declaration
Delphi
function AddNode(ANode: TdxTreeCustomNode; ARelative: TdxTreeCustomNode; AData: Pointer; AttachMode: TdxTreeNodeAttachMode): TdxTreeCustomNode;
#Parameters
Name | Type | Description |
---|---|---|
ANode | Tdx |
An existing tree node. If ANode is nil (in Delphi) or nullptr (in C++Builder), the function creates a new node with the default settings. |
ARelative | Tdx |
A target node. The Attach |
AData | Pointer | A pointer to additional data. The function call assigns this parameter to the added node’s Data property only if the Add |
Attach |
Tdx |
A node attachment mode. |
#Returns
Type | Description |
---|---|
Tdx |
The added node. |
See Also