Table of Contents

TTMSFNCCustomPageControl.InsertPage Method

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

API unit family: TMSFNCPageControl Declaring type: TTMSFNCCustomPageControl

Syntax

function InsertPage(APageIndex: Integer; AText: String = ''): TTMSFNCPageControlPage; virtual;

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.