PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Initial display mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SysErrorMode (Function)
In french: SysModeErreur
Modifies the display mode of errors.
Caution: This function must be used with great care.
Example
// The critical errors will not be displayed anymore
ResErrorMode = SysErrorMode(smeFailCriticalError)
Syntax
<Result> = SysErrorMode(<Display mode>)
<Result>: Integer constant
Former display mode of errors:
smeGPFNo white panel during a general protection fault.
smeFailCriticalErrorNo dialog box for the critical errors.
smeOpenFileErrorNo dialog box for the file errors.
<Display mode>: Constant or combination of constants
Indicates the new display mode of errors:
smeGPFNo white panel during a general protection fault.
smeFailCriticalErrorNo dialog box for the critical errors.
smeOpenFileErrorNo dialog box for the file errors.
Remarks

Initial display mode

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
// Store the former display mode of errors
ResInitErrorMode = SysErrorMode(smeFailCriticalError)
...
// Restore the initial display mode
SysErrorMode(ResInitErrorMode)
Component : wd250std.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment