PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Emulates the next call to YesNo and automatically clicks the button specified in parameter.
Example
// Automatically close the next YesNo dialog box
// The answer on which the click will be performed is Yes
EmulateYesNo(Yes)

// Process
// ...

SWITCH Confirm("Do you want to save the modifications?")
CASE Yes
// Save the modifications
CASE No
// Cancel the modifications
END
// The message is automatically closed via a click performed on Yes
Syntax
EmulateYesNo(<Button>)
<Button>: Integer constant
Indicates the button that will be clicked in the YesNo window:
NoClick the [NO] button
YesClick the [YES] button
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.
Components
WINDEV wd230testexe.dll
Windows Mobile wp230testexe.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment