PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
Former display mode of 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:
  • Store 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)
Components
WINDEVReports and Queries wd230std.dll
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment