See Also: Dialog and Message Box Functions, Info_Box, Message_Box, YesNo_Box, YesNoCancel_Box
Displays an error dialog box.
None
Use Windows.pkg
Send Stop_Box {sMessage} [ {sCaption} ]
Where:
{sMessage} is a string containing the information message to be shown. A carriage-return/linefeed can be placed in the message string by the inclusion of \n in the text.
{sCaption}. The {sCaption} parameter is optional. If passed, it specifies the content of the caption bar. If {sCaption} is not passed, the caption bar will display the string "Stop".
Stop_Box is used to pop up a serious error information message box. The message string {sMessage} is displayed in a message box dialog along with the Stop icon and a single OK button.
Send Stop_Box "Unable to open file for output!"
In the above example, the information dialog's caption bar will read "Stop".
If the user types Ctrl+C in the stop box, the text of the message is copied to the clipboard.
See ShowInfoBox for Web application message boxes.