DEACTIVATE
|
Syntax: |
DEACTIVATE(<Menu Item>) <Menu Item> = <STRING-EXPRESSION> |
|||
|
Meaning: |
With
DEACTIVATE single menu items or menu branches can be disabled. <Menu item> = "" refers to the
whole menu. DEACTIVATE returns the value 0, if the menu item could be
deactivated, otherwise it returns the error number 6001: menu item not found.
If
the menu item is a checkbox, an asterix can be put before the number in order
to set the checkbox. |
|||
|
Parameter: |
|
|||
|
Sample: |
H% = ADD_MENU("1","&Print;&Bell;&Deactivate;&Activate",MEN.MACRO) H% = ACTIVATE("*1.1") /* Create checkbox "Print",
checkbox is selected H% = ACTIVATE("*1.2") /* Create checkbox "Bell",
checkbox is selected PRINTING% = 1 ... Macro MEN.MACRO:
|
|||
|
See also: |
|