Skip to main content
Table of Contents

TTMSFNCPageControl.InsertPage Method

Inserts a new page at the given index with optional tab text and returns it.

API unit family: TMSFNCPageControl Declaring type: TTMSFNCPageControl Inherited from: TTMSFNCCustomPageControl

Syntax

FMX.TMSFNCPageControl.hppPascalC++
function InsertPage(APageIndex: Integer; AText: String = ''): TTMSFNCPageControlPage; virtual;
virtual TTMSFNCPageControlPage* __fastcall InsertPage(int APageIndex, System::UnicodeString AText = System::UnicodeString());

Parameters

Name Description
APageIndex Zero-based position at which to insert the page.
AText Text to display on the page tab.

Returns

The newly created TTMSFNCPageControlPage.