ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Menu functions
  • Example: Finding out from a window whether a menu option is checked
MenuIsMarked (Example)
Example: Finding out from a window whether a menu option is checked
Reports and Queries The following example is used to find out whether a menu option is checked. This check is performed from a window other than the window containing the menu.
Note: the window containing this menu must necessarily be opened.
bBool is boolean
bBool = MenuIsMarked(WIN_WinWithMenu, WIN_WindowName.MenuName.NameSubMenu)
IF bBool = True THEN
Info("The sub-menu is checked")
ELSE
Info("The sub-menu is not checked")
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help