Version 6.3.8 for Windows
 —  Dialog Component Reference  —

Error Event

This document covers the following topics:


Applies To

Dialog.

Top of page

Description

This event handler section is performed whenever a runtime error occurs while a dialog is active. You can specify event handler code to be executed whenever this error occurs. If no error event handler code is specified, Natural will terminate with an error message and all dialogs will be closed. If an error event handler code section was specified, the dialog will remain open and handle the error.

You can use the system variables *CONTROL and *EVENT to determine the event handler in which the error occurred. If you want the dialog to continue after processing the error, code an ESCAPE ROUTINE statement at the end of the error event handler.

Top of page