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)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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