MessageDialog.Icon

Number indicating the type of icon to be displayed in the dialog box. These icons are supplied by the host operating system.

Syntax
Icon( Integer ) as

Parameters
Integer |

# Notes

You can use the following class constants to specify the icon:

-1 - GraphicNone

0 - GraphicNote (The application icon on Mac OS X)

1 - GraphicCaution triangle (On Mac OS X, the application icon superimposed on the caution triangle)

2 - GraphicStop (On Mac OS X 10.3 and above, the application icon)

3 - GraphicQuestion icon (On Mac OS X 10.3 and above, it is the same as 0)

See the Notes section in the pdf version of the Language Reference for screen shots of these icons on each platform.

If the value of Icon is out of range, an OutOfBoundsException occurs.