Table of Contents

TTMSFNCTreeViewNode.CopyTo Method

Copies this node to a new parent, optionally at a specific child index.

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewNode

Syntax

procedure CopyTo(ADestination: TTMSFNCTreeViewNode; AIndex: Integer = -1); virtual;

Parameters

Name Description
ADestination The destination parent node; pass nil to copy to the root level.
AIndex Destination child index, or -1 to append after the last child.