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 UserProc;
Var
    Color: IGxColor;
Begin
    Color := GxColor.FromSystemColor(GxSystemColor.Desktop);
End Sub UserProc;

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

See also:

IGxColorClass