Sign in Join
FPDoc Onlineexperiment

TLazDockPages.Pages property

Member of TLazDockPagespublicIn unit LDockTree

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

Declaration

pascal
property Pages:;

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.

This description is the one of ComCtrls.TCustomTabControl.Pages.

See also

  • Page
  • InsertPage
  • RemovePage
  • Tabs
  • GetListClass
  • TNBPages
  • TStrings

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