Sign in Join
FPDoc Onlineexperiment

TNBPages.GetObject function

Member of TNBPagesprotectedIn unit ComCtrls

Gets the value for the indexed Objects property.

Declaration

pascal
function GetObject(Index: Integer): TObject; override

Arguments

Index

Ordinal position for the object requested in the method.

Function result

Object stored at the specified position.

Description

GetObject is an overridden method in TNBPages, and redirects indexed object access to the PageList property. The return value is a TObject instance, and must be cast to TCustomPage to access its properties and methods.

Use GetPage to get a page in PageList as a TCustomPage instance.

See also

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