Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V23.1
  • TCustomdxTreeView.MoveTreeNodeStructure(TTreeNode,TTreeNode,Boolean) Method

    Moves or copies a tree node structure.

    Declaration

    function MoveTreeNodeStructure(Source: TTreeNode; Destination: TTreeNode; IsCopy: Boolean): TTreeNode;

    Parameters

    Name Type
    Source TTreeNode
    Destination TTreeNode
    IsCopy Boolean

    Returns

    Type
    TTreeNode

    Remarks

    The Source parameter determines which tree node to move or copy. The Destination parameter determines where to move or copy the tree node. The Destination and Source tree node may have different TreeViews. The IsCopy parameter determines whether the structure is moved or copied. If IsCopy is True, then the structure is copied. If IsCopy is False, then the structure is moved. The result is the root of the newly created tree node structure.

    See Also