Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.Pages property

Member of TCustomTabControlpublicIn unit ComCtrls

The list of captions for the page objects on the control.

Declaration

pascal
property Pages: TStrings read FAccess write SetPages;

Description

Pages is a read-only TStrings property which provides access to the list with the captions and page objects for the tabbed control. At run-time, the GetListClass is used to get the class type needed to create the member. The default list class type is TNBPages in TCustomTabControl.

Methods in TCustomTabControl cast the internal list to the TNBPages type when reading or writing its values.

Use InsertPage or RemovePage to maintain the page objects in the Pages property.

Use the indexed Page property to access a TCustomPage instance for a page by its ordinal position in Pages.

Use Tabs to access the list with the captions for the tabs on the control.

See also

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