Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.GetRGBColorResolvingParent

Returns a RGB value for the color of the control.

Declaration

Source position: controls.pp line 1604

public function TControl.GetRGBColorResolvingParent: TGraphicsColor;

Description

This convenience routine will allow to obtain the Color of the control while resolving clDefault, ParentColor and system color indexes and returns a TColor value.

See also

TControl.Color

  

The background color of the control.

TControl.GetDefaultColor

  

Gets the default color for 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.