>>-RxMessageBox(text--------------------------------------------> >--+--------------------------------------------+--)----------->< +-,--+-------+--+--------------------------+-+ +-title-+ +-,--+--------+--+-------+-+ +-button-+ +-,icon-+
Displays a Windows message box.
RxMessageBox returns the selected message box push button. Possible values are:
The OK push button was pressed
The CANCEL push button was pressed
The ABORT push button was pressed
The RETRY push button was pressed
The IGNORE push button was pressed
The YES push button was pressed
The NO push button was pressed
If a message box has a "CANCEL" button, the function returns the 2 value if either the ESC key is pressed or the "CANCEL" button is selected. If the message box has no "CANCEL" button, pressing ESC has no effect.
The message box text.
The message box title. The default title is "Error!".
The message box push button style. The allowed styles are:
No icon is displayed.
A single OK push button.
An OK push button and a CANCEL push button.
A RETRY push button and a CANCEL push button.
An ABORT push button, a RETRY push button and an IGNORE push button.
A YES push button and a NO push button.
A YES push button, a NO push button and a CANCEL push button.
The message box icon style. The allowed styles are:
A hand icon is displayed.
A question mark icon is displayed.
An exclamation point icon is displayed.
An asterisk icon is displayed.
An information icon is displayed.
A stop icon is displayed.
A query icon is displayed.
A warning icon is displayed.
An error icon is displayed.
Example:
/* Give option to quit */ if RxMessageBox("Shall we continue", , "YesNo", "Question") = 7 Then Exit /* quit option given, exit */