ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Menu functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Makes a menu option invisible (context menu or drop-down menu). The options found after the modified option are moved one line to the top.
Example
// L'option "OPT_BarreIcone" devient invisible
MenuInvisible(OPT_BarreIcone)
// Rend invisible la sous-option "Sauvegarder" 
// du menu "Fichier" dans la fenêtre "FEN_FenMenu" 
// à partir de la fenêtre "Client"
MenuInvisible(FEN_FenMenu, Fichier.Sauvegarder)
// équivalent à FEN_FenMenu.Fichier.Sauvegarder..Visible = Faux
Syntax
MenuInvisible([<Window>, ] <Menu option>)
<Window>: Optional window name
Name of the window containing the menu option.
If this parameter is not specified, MenuInvisible will handle 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(<Option de menu>)

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

Last update: 09/21/2024

Send a report | Local help