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