IGxColor.IsSystemColor

Syntax

IsSystemColor: Boolean;

Description

The IsSystemColor property returns True if the color is a system one.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    s: String;
Begin
    If Panel1.Color.IsSystemColor Then
        s:="Yes";
    Else
        s:="No";
    End If;
End Sub Button1OnClick;

After executing the example on clicking the button the "s" variable contains Yes if the color of the panel named Panel1 is a system color.

See also:

IGxColor