Errbox
Errbox
displays a popup windows with an error message.
This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.
Syntax
Errbox MESSAGE_LIST
Errbox MESSAGE_LIST Titled TITLE
Errbox MESSAGE_LIST Titled TITLE Sleep TIME
Errbox MESSAGE_LIST Sleep TIME
MESSAGE_LIST
is a list of string expressions separated by commas. The content of each string is displayed on a different line.TITLE
is a string expression that contains the title of the popup that appears.TIME
is an integer expression that gives a time-out before the popup closes automatically. If not given, the popup closes only when a click is done on theOK
button.
Examples
# The computation failed because no valid entry is there
Call COMPUTATION(FORMULA,RESULT, ERROR)
If ERROR=3
Errbox "The following formula couldn't be computed",FORMULA Titled "Computation Error" Sleep 10
Endif
Description
Errbox
behaves as Endbox
, but the popup looks different (exclamation mark on a yellow bar).
This instruction should be used only to display normal errors.
See also
Endbox, Infbox, Qstbox, Selbox, Wrnbox