Sign in Join
FPDoc Onlineexperiment

TControlBar.Color property

Member of TControlBarpublishedIn unit ExtCtrls

Declaration

pascal
property Color: ;

Description

Not described here; this is what TCustomPanel.Color says of it:

Contains the background color for the panel.

Color is a TColor property with the background color for the panel.

The default value for Color is determined by the UseCLDefault compiler define. When UseCLDefault is defined, the default value is clDefault, and the color will need to be resolved using the GetDefaultColor method. Convenience routines which obtain the color by resolving clDefault and ParentColor are also provided in TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent. If UseCLDefault is not defined, the default value is clWindow.

Setting an explicit value in Color causes both ParentColor and ParentBackground to be set to False, and the control is redrawn.

Set ParentBackground or ParentColor to True to use the background color from the Parent control, making the panel transparent when drawn.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.