Skip to main content
Table of Contents

TTMSFNCTreeViewNode.MoveTo Method

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

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewNode

Syntax

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

Parameters

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