Difference between revisions of "MessageDialog.IconType"

From Xojo Documentation

(Created page with "n/a")
 
 
Line 1: Line 1:
n/a
+
{{PropertyBox
 +
| name=IconType
 +
| owner=[[MessageDialog]]
 +
| ownertype=class
 +
| scope=public
 +
| type=[[MessageDialog.IconTypes]]
 +
| platform=all
 +
}}
 +
{{Description
 +
|text = Indicates the type of icon to be displayed in the dialog. }}
 +
 
 +
== Notes ==
 +
Use the [[MessageDialog.IconTypes]] enumeration to specify the icon type.
 +
 
 +
== Sample Code ==
 +
<rbcode>Dim d As New MessageDialog
 +
d.IconType = MessageDialog.IconTypes.Caution
 +
d.Message = "Hello!"
 +
 
 +
Call d.ShowModal</rbcode>

Latest revision as of 15:18, 25 November 2019

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