|
|
|
|
|
- Graying out a set of options
- Miscellaneous
MenuSelectMinus (Function) In french: MenuSelectMoins Disables (grays out) a menu option (context menu or drop-down menu). The specified menu option cannot be selected anymore. The option can be re-enabled through programming with MenuSelectPlus.
MenuSelectMinus(OPT_IconBar)
MenuSelectMinus(WIN_Win1, OPT_IconBar)
MenuSelectMinus(WIN_Win1, ContextMenu1.OPT_IconBar)
Syntax
MenuSelectMinus([<Window>, ] <Menu option>)
<Window>: Optional window name Name of the window containing the menu option to disable. If this parameter is not specified, MenuSelectMinus will handle the current window. <Menu option>: Option name Name of the menu option to disable. This name is defined in the description window of the menu option. This name must be specified without quotes. If this parameter corresponds to the name of a menu, all the sub-options of this menu will also be disabled (recursive). To gray out an option in a context menu, use the following notation: <Name of context menu>.<Option name>. Remarks Graying out a set of options To gray out a set of options, you must: - Assign the options to a group of controls
- Grey out the options (and the other controls in the group) with the State property.
Miscellaneous When a menu option is not visible ( Visible = False), it is displayed, but it is grayed out when MenuSelectMinus is called.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|