Sign in Join
FPDoc Onlineexperiment

TControl.GetColorResolvingParent function

Member of TControlpublicIn unit Controls

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

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.