MENU SET

Modifies the individual attributes of particular menus or menu items.

Syntax

MENU SET («option») «object»

Parameters

option

Can be
 [UN]AVAILABLE, [NOT] CHECKED, [IN]VISIBLE,
LABEL, [NOT] SUPPRESS, RESET
The above options affect only the indicated attribute; all other attributes are left unchanged.

object

Object can be
menu
The name of the open menu in the current window.
menuitem
The name of a particular menu item within the open menu.
([exp1 ],[exp2 ],[exp3 ])
Positive integers or expressions that evaluate to positive integers, that identify a particular menu or menu item. Exp1 identifies the menu number; exp2, the item number. (Exp3 is reserved for future use.) Exp1, exp2, and exp3 must be positive integers or expressions that evaluate to positive integers. At least one of exp1 or exp2 must be specified.

Example

To set the attributes of individual menus or menu items, enter

menu set (checked) mTerm.Color

menu set (unavailable) mTerm.ColorType

menu set (suppress) (1,,)

 

Related Topics