setNoErrorDisplay procedure

Turns the automatic display of synchronous errors and conditions on and off.

Syntax

PROCEDURE setNoErrorDisplay.
DEFINE INPUT PARAMETER noDisplay AS LOGICAL.

Applies to

Session objects and Message objects

Notes

  • The default value is FALSE. The ABL–JMS implementation automatically displays synchronously reported errors and conditions in alert boxes.
  • If set to TRUE, synchronous errors and conditions are not automatically displayed by the ABL–JMS implementation.
  • Messages inherit the noDisplay property from the session that created them.
  • After the message is created, the setNoErrorDisplay procedure must be called in the message itself to change the noDisplay property.
  • Errors caused by method calls are automatically displayed.

See also

setErrorHandler procedure

For more information, see the Error and condition handling.