|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| menu.item.checked(MenuID, ItemID, isChecked) |
Parameters
| ID | MenuID | ID of the menu
| | ID | ItemID | ID of the item
| | BOOL | isChecked | Optional. Set to true to check the menu item, false to unckeck it, or NULL to read the current status. |
Return value
| If isChecked 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 checked.
For a popup menu, this function must be called before the menu is shown with menu.popup.show. |
MioScript Sample Code
// SET
menu.item.checked(&menuID, &thisItemID, true)
// GET
&isChecked = menu.item.checked(&menuID, &thisItemID)
|
|
|
|