PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Tip: Ungraying a set of options
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
Enables a menu option (popup menu or drop-down menu). The specified menu option can be selected. This function is used to ungray a menu option that was grayed by MenuSelectMinus.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
// Dégrise l'option "OPT_BarreIcone" dans
// le menu déroulant "Menu" de la fenêtre en cours
MenuSelectPlus(OPT_BarreIcone)
// Dégrise l'option "OPT_BarreIcone" dans le menu "Menu" de la fenêtre "FEN_Fen1"
// La fenêtre FEN_Fen1 n'est pas la fenêtre en cours
MenuSelectPlus(FEN_Fen1, OPT_BarreIcone)
// Dégrise l'option "OPT_BarreIcone" dans le menu contextuel "MenuContextuel1"
MenuSelectPlus(FEN_Fen1, MenuContextuel1.OPT_BarreIcone)
Syntax
MenuSelectPlus([<Window name>, ] <Name of the menu option>)
<Window name>: Optional character string
Name of the window containing the menu option to enable.
If this parameter is not specified, MenuSelectPlus will handle the current window.
<Name of the menu option>: Character string
Name of the menu option to enable. This name is defined in the description window of the menu option. This name must be specified without quotes.
If this parameter corresponds to a name of a menu, all the sub-options of this menu will also be enabled (recursive). To ungray an option in a popup menu, use the following notation: <Name of popup Menu>.<Option name>.
Remarks

Tip: Ungraying a set of options

To enable a set of options, you must:
  1. Assign the options to a group of controls.
  2. Ungray the options (and the other controls in the group) with Report = active applied to the group of controls.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment