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;
int __fastcall IndexOfContainer(System::Classes::TComponent* AValue);
Parameters
| Name | Description |
|---|---|
AValue |
The container component to search for. |
Returns
Zero-based index of the matching page, or -1 if not found.