PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
WINDEVReports and QueriesUser code (UMC) 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