|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| menu.item.enabled(MenuID, ItemID, isEnabled) |
Parameters
| ID | MenuID | ID of the menu
| | ID | ItemID | ID of the item
| | BOOL | isEnabled | Optional. Set to true to enable the menu item, false to disable it, or NULL to read the current status. |
Return value
| If isEnabled is set to NULL, the function returns the current status of the menu item. |
Description
| Use this function to read or set if the menu item is enabled. |
MioScript Sample Code
// SET
menu.item.enabled(&menuID, &thisItemID, true)
// GET
&isChecked = menu.item.enabled(&menuID, &thisItemID)
|
|
|
|