MessageDialog.IconType

From Xojo Documentation

Revision as of 15:18, 25 November 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

aMessageDialog.IconType = newMessageDialog.IconTypesValue
or
MessageDialog.IconTypesValue = aMessageDialog.IconType

Supported for all project types and targets.

Indicates the type of icon to be displayed in the dialog.

Notes

Use the MessageDialog.IconTypes enumeration to specify the icon type.

Sample Code

Dim d As New MessageDialog
d.IconType = MessageDialog.IconTypes.Caution
d.Message = "Hello!"

Call d.ShowModal