TdxOcNode.MoveTo(TdxOcNode,TdxOcNodeAttachMode) Method
Moves the current node to a specific location within the tree.
#Declaration
procedure MoveTo(Dest: TdxOcNode; Mode: TdxOcNodeAttachMode);
#Parameters
Name | Type |
---|---|
Dest | Tdx |
Mode | Tdx |
#Remarks
Call this procedure to move the current node, including all its children to another node passed as the Dest parameter. Use the Mode parameter to specify the required destination:
Value | Meaning |
---|---|
na |
Appends the node to the list of the destination node’s siblings. |
na |
Prepends the node to the list of the destination node’s siblings. |
na |
Appends the node as the destination node’s descendant. |
na |
Prepends the node as the destination node’s descendant. |
na |
Inserts the current node between the destination node and its preceding node at the same nesting level. |