[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TCustomSpeedButton.Color

The background color for the control.

Declaration

Source position: buttons.pp line 396

public property TCustomSpeedButton.Color : TColor
  default clBtnFace;

Description

The default value for the property is clBtnFace in TCustomSpeedButton.

If the color is clDefault , the result will need to be passed through GetDefaultColor to resolve clDefault to a TColor value. Convenience routines which obtain the color by resolving clDefault and ParentColor are also provided as TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent.

See also

TControl.Color

  

The background color of the control.

TControl.ParentColor

  

Use the Color from the Parent control, when enabled.

TControl.GetDefaultColor

  

Gets the default color for the control.

TControl.GetColorResolvingParent

  

Returns the color of the control while resolving clDefault and ParentColor.

TControl.GetRGColGetRGBColorResolvingParentarent

  

Returns a RGB value for the color of the control.