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
Makes a menu option invisible (popup menu or drop-down menu). The options found after the modified option are moved one line to the top.
Example
// The "OPT_IconBar" option becomes invisible
MenuInvisible(OPT_IconBar)
// Makes the "Save" sub-option invisible
// in the "File" menu of the "WIN_WinMenu" window
// from the "Customer" window
MenuInvisible(WIN_WinMenu, File.Save)
// equivalent to WIN_WinMenu.File.Save..Visible = False
Syntax
MenuInvisible([<Window>, ] <Menu option>)
<Window>: Optional window name
Name of the window containing the menu option.
If this parameter is not specified, MenuInvisible handles the current window.
<Menu option>: Option name
Name of the menu option to use. This name is defined in the description window of the menu option.
This name must be specified without quotes.
Remarks
  • Equivalence: The following syntax:
    MenuInvisible(<Menu option>)

    is equivalent to ..Visible:
    <Menu option>..Visible
  • When a menu option is made invisible, the associated shortcut cannot be used anymore.
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment