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

TControl.GetRGBColorResolvingParent

Returns a RGB value for the color of the control

Declaration

Source position: controls.pp line 1531

public function TControl.GetRGBColorResolvingParent: TColor;

Description

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

See also

TControl.Color

  

The background color of the control.

TControl.GetDefaultColor

  

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

TControl.ParentColor

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

TControl.GetColorResolvingParent

  

Returns the color of the control while resolving clDefault and ParentColor

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