RVGetSystemColor

<< Click to display table of contents >>

RVGetSystemColor

Unit [VCL/FMX]: RVColorFuncs / fmxRVColorFuncs;

Returns value of

Syntax

type
  TRVGetSystemColorFunction =
    function (AControl: TControl; AColor: TRVColor): TRVColor;
 
const
  RVGetSystemColor: TRVGetSystemColorFunction = nil;

(introduced in version 23)

In VCL application, this function can be used to return values of system colors.

This function (if it is defined) is called for TRichView controls that have UseVCLThemes = True.

Parameters:

AControl – the control where the painting is being performed.

AColor – the original color.

Return value:

The color that will be used instead of AColor.