Sign in Join
FPDoc Onlineexperiment

TPageControl.UpdateDockCaption procedure

Member of TPageControlprotectedIn unit ComCtrls

Updates page captions to reflect the captions for docked clients controls.

Declaration

pascal
procedure UpdateDockCaption(Exclude: TControl=Nil); override

Arguments

Exclude

Not used in TPageControl.

Description

UpdateDockCaption is an overridden method in TPageControl which implements the method defined in the TWinControl ancestor. It ensures that the Caption for each of the Pages (TTabSheet) is updated with the Caption from the first child control on each page.

UpdateDockCaption is called when the control has an assigned HostDockSite, and either the list of docked clients has changed or one of their captions has changed.

In TPageControl, the Exclude argument is not used.

Added in LCL version 4.0.

See also

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