Error: IGxIcon;
The Error property returns the object that contains the error system icon.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
Self.Icon := GxSystemIcons.Error;
End Sub Button1OnClick;
After executing the example clicking the button sets the error icon for the form.
See also: