SIMPOL Documentation

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) parent, string message, string captiontext, string style, string icon, string result )

Parameters

ParameterDefault valueType nameDescription
parent.nultype(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.
styleokstring 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.nulstring 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.