Sign in Join
FPDoc Onlineexperiment

TStatusBar.Color property

Member of TStatusBarpublishedIn unit ComCtrls

The background color of the control.

Declaration

pascal
property Color: default clDefault;

Description

Color is a published TColor property in TStatusBar. The default value for the property is clDefault or clBtnFace (depending on the UseCLDefault compiler define). If the color is clDefault, the result will need to be passed through GetDefaultColor to resolve clDefault to an actual TColor value.

Convenience routines which obtain the color by resolving clDefault and ParentColor are provided in the GetColorResolvingParent and GetRGBColorResolvingParent methods in the TControl ancestor.

For the macOS Carbon widgetset, the Color property is not supported in TStatusBar. The status bar is always transparent on the platform.

See also

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