ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Emulation functions
  • Checking the function
  • Difference of message type
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
Emulates the next call to Error and automatically clicks the "OK" button.
Example
// Automatically close the next Error dialog box
EmulateError()
 
// Process
// ...
 
Error("An error occurred during the process.")
// The message is automatically closed
Syntax
EmulateError()
Remarks

Checking the function

The existence of an emulating function (EmulateWarning, EmulateError, EmulateInfo, ...) is checked during the call to the associated dialog function (Warning, Error, Info, ...).

Difference of message type

The order of the EmulateXXX functions must respect the display order of Error, Info, ... Otherwise, a fatal error will occur.
Component: wd290testexe.dll
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help