Vista Software
Tip: Don't Display Error Dialogs

Don't Display Error Dialogs

Applies to: Apollo VCL™

If you don't want error dialogs to be displayed in your Apollo applications, do the following:

  1. Drop a TApolloEnv component on your main form, if you don't already have one in your application.
  2. In the initialization section of your application, call:
    TApolloEnv.ErrorLevel( ERRLEVEL_NONE )

Possible error level values are:
ERRLEVEL_NONE: No error message at all.
ERRLEVEL_FATAL: Only report Fatal errors (Default).
ERRLEVEL_STANDARD: Report all errors.

Back
Apollo Database Engines