IGxColorClass.FromSystemColor

Syntax

FromSystemColor(SystemColor: GxSystemColor): IGxColor;

Parameters

SystemColor - system color.

Description

The FromSystemColor method returns the color that contains the system color.

Example

Sub Main;

Var

Color: IGxColor;

Begin

Color:=GxColor.FromSystemColor(GxSystemColor.Desktop);

End Sub Main;

After executing the example on clicking the Color variable contains the desktop's system color.

See also:

IGxColorClass