wxmessagedialog()
Description
Displays a message box dialog (normally an OS common dialog) to inform the user of something and in some cases to allow the user to make a choice, such as selecting ok, cancel, yes, or no.
Prototype
wxmessagedialog
(
type(wxdialogparent)
,
string parent
,
string message
,
string captiontext
,
string style
,
string icon
)
result
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
parent | .nul | type(wxdialogparent) | Gives the parent of the common dialog, if any. |
message | "" | string | The text shown in the body of the message box dialog. |
captiontext | "" | string | The text shown in the title bar of the common dialog. |
style | ok | string |
This is one of "ok" , "cancel" ,
"okcancel" , "yesno" , or
"yesno_defaultno" .
|
icon | "information" | string |
This is one of "exclaim" , "hand" ,
"error" , "question" , or
"information" .
|
result | .nul | string |
The result (either "ok" , "cancel" ,
"yes" , or "no" ) will be
returned in the string object passed as this parameter. It must be an
existing (preinitialized) object.
|