Stop_Box

See Also: Dialog and Message Box Functions, Info_Box, Message_Box, YesNo_Box, YesNoCancel_Box

Purpose

Displays an error dialog box.

Return Type

None

Syntax

Use Windows.pkg

 

Send Stop_Box {sMessage} [ {sCaption} ]

Where:

What It Does

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.

Examples

Send Stop_Box "Unable to open file for output!"

In the above example, the information dialog's caption bar will read "Stop".

Notes

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.