ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
  • Initial display mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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:
smeFailCriticalErrorNo dialog box for the critical errors.
smeGPFNo white panel during a general protection fault.
smeOpenFileErrorNo dialog box for the file errors.
<Display mode>: Constant or combination of constants
Indicates the new display mode of errors:
smeFailCriticalErrorNo dialog box for the critical errors.
smeGPFNo white panel during a general protection fault.
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
// Keep the former display mode of errors
ResInitErrorMode = SysErrorMode(smeFailCriticalError)
...
// Restore the initial display mode
SysErrorMode(ResInitErrorMode)
Component: wd290std.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help