Skip to main content

TdxBreadcrumbEditNode.AddNode(TdxBreadcrumbEditNode,TdxBreadcrumbEditNode,Pointer,TdxTreeNodeAttachMode) Method

Adds a node.

Declaration

function AddNode(ANode: TdxBreadcrumbEditNode; ARelative: TdxBreadcrumbEditNode; AData: Pointer; AAttachMode: TdxTreeNodeAttachMode): TdxBreadcrumbEditNode;

Parameters

Name Type
ANode TdxBreadcrumbEditNode
ARelative TdxBreadcrumbEditNode
AData Pointer
AAttachMode TdxTreeNodeAttachMode

Returns

Type
TdxBreadcrumbEditNode

Remarks

This function places ANode at the position specified by AAttachMode, and returns this node as the function’s result. If ANode is nil, the function creates a new node with default settings, places it at the position specified by AAttachMode, and returns the created node as the function’s result.

ARelative specifies the parent node. If ARelative is nil, the node is added to the root node.

AData specifies the custom data associated with the node (see the Data property).

AAttachMode specifies the manner in which the node is attached to its parent.

See Also