Don't Display Error Dialogs

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > FAQ >

Don't Display Error Dialogs

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.