Skip to main content
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

FMX.TMSFNCTreeViewData.hppPascalC++
procedure CopyTo(ADestination: TTMSFNCTreeViewNode; AIndex: Integer = -1); virtual;
virtual void __fastcall CopyTo(TTMSFNCTreeViewNode* ADestination, int AIndex = 0xffffffff);

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.