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 | TdxOcNode |
Mode | TdxOcNodeAttachMode |
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 |
---|---|
naAdd | Appends the node to the list of the destination node’s siblings. |
naAddFirst | Prepends the node to the list of the destination node’s siblings. |
naAddChild | Appends the node as the destination node’s descendant. |
naAddChildFirst | Prepends the node as the destination node’s descendant. |
naInsert | Inserts the current node between the destination node and its preceding node at the same nesting level. |
See Also