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

TControl.GetDefaultColor

Get the default color for this widget, from Parent or color type.

Declaration

Source position: controls.pp line 1601

public function TControl.GetDefaultColor(

  const DefaultColorType: TDefaultColorType

):TColor; virtual;

Arguments

DefaultColorType

  

The color type to use, as the last resort.

See also

TControl.Color

  

The background color of the control.

TControl.ParentColor

  

Use the Color from the Parent control, when enabled.

TControl.GetColorResolvingParent

  

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

TControl.GetRGBColorResolvingParent

  

Returns a RGB value for the color of the control.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.