Skip to main content
Table of Contents

TTMSFNCTreeViewData.GetRootNodeByIndex Method

Returns the root-level data node at the specified index, or nil when the index is out of range.

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewData

Syntax

FMX.TMSFNCTreeViewData.hppPascalC++
function GetRootNodeByIndex(AIndex: Integer): TTMSFNCTreeViewNode; virtual;
virtual TTMSFNCTreeViewNode* __fastcall GetRootNodeByIndex(int AIndex);

Parameters

Name Description
AIndex Zero-based index among root-level nodes.