PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 menu that will be opened and automatically runs the menu option passed in parameter.
Example
// Runs the "Exit" option from "_Menu"
EmulateMenu("_Menu", "Exit")
Syntax
EmulateMenu(<Menu name> , <Option name>)
<Menu name>: Character string (with or without quotes)
  • Name of menu to emulate,
  • Empty string ("") to emulate the default menu.
<Option name>: Character string (with or without quotes)
  • Name of option that will be run during the emulation,
  • Empty string ("") if no option is selected (the menu is canceled).
Remarks
Caution: EmulateMenu will be run only when a menu is opened. If this menu is the one specified in <Menu name>, the selected option will be run. Otherwise, an error will occur.
Component : wd240testexe.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment