Table of Contents

TTMSFNCPageControlPages.IndexOfContainer Method

Returns the index of the page whose container matches the given component.

API unit family: TMSFNCPageControl Declaring type: TTMSFNCPageControlPages

Syntax

function IndexOfContainer(AValue: TComponent): Integer;

Parameters

Name Description
AValue The container component to search for.

Returns

Zero-based index of the matching page, or -1 if not found.