[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 415

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 in the GetColorResolvingParent and GetRGBColorResolvingParent methods.

See also

TControl.Color

  

The background color for 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.GetRGBColorResolvingParent

  

Returns a RGB value for the color used on the control.


Version 3.2 Generated 2024-02-25 Home