ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Emulation functions
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 menu that will be opened and automatically runs the menu option passed as parameter.
Example
// Runs the "Exit" option from "_Menu"
EmulateMenu("_Menu", "Exit")
Syntax
EmulateMenu(<Menu name> , <Option name>)
<Menu name>: Character string
  • Name of menu to emulate,
  • Empty string ("") to emulate the default menu.
<Option name>: Character string
  • 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: wd290testexe.dll
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help