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

TControl.GetColorResolvingParent

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

Declaration

Source position: controls.pp line 1679

public function TControl.GetColorResolvingParent: TColor;

Description

GetColorResolvingParent is a convenience routine used to obtain the Color for the control while resolving clDefault. It will never return clDefault, but it might return a non-RGB color. To obtain a purely RGB result use GetRGBColorResolvingParent.

See also

TControl.Color

  

The background color for the control.

TControl.GetDefaultColor

  

Gets the default color for the control.

TControl.ParentColor

  

Use the Color from the Parent control, when enabled.

TControl.GetRGBColorResolvingParent

  

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


Version 3.2 Generated 2024-02-25 Home