|
|
|
|
SysErrorMode (Function) In french: SysModeErreur Modifies the display mode of errors. Caution: This function must be used with great care.
// The critical errors will not be displayed anymore ResErrorMode = SysErrorMode(smeFailCriticalError)
Syntax
<Result> = SysErrorMode(<Display mode>)
<Result>: Integer constant Former display mode of errors: | | smeFailCriticalError | No dialog box for the critical errors. | smeGPF | No white panel during a general protection fault. | smeOpenFileError | No dialog box for the file errors. |
<Display mode>: Constant or combination of constants Indicates the new display mode of errors:
| | smeFailCriticalError | No dialog box for the critical errors. | smeGPF | No white panel during a general protection fault. | smeOpenFileError | No dialog box for the file errors. |
Remarks To restore the initial display mode: - Keep the initial display mode returned by SysErrorMode (during the first modification of the display mode).
- Initialize the display mode of errors with the value of the initial display mode.
For example:
// Modify the display mode of errors // Keep the former display mode of errors ResInitErrorMode = SysErrorMode(smeFailCriticalError) ... // Restore the initial display mode SysErrorMode(ResInitErrorMode)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|