Sign in Join
FPDoc Onlineexperiment

TNBPages.GetPage function

Member of TNBPagesprotectedIn unit ComCtrls

Gets the page stored at the specified position in PageList.

Declaration

pascal
function GetPage(Index: Integer): TCustomPage; override

Arguments

Index

Ordinal position in PageList for the requested page.

Function result

TCustomPage instance stored at the specified position.

Description

GetPage implements the abstract method defined in the ancestor, and is used to get a TCustomPage instance stored at the specified position in PageList. GetPage calls the GetObject method to retrieve the page, and casts it to the TCustomPage type used in the return value.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.