Menu.setActive Method

When given a menu item, will de-activate all others as in-active and activate / refresh the menu item given.
 

Parameters

menuItem

Type: MenuItem
The menu item to mark as active.
isActive

Type: Boolean
True or undefined if this item is to be marked active; false otherwise.
Optional: True
refresh

Type: Boolean
True if a refresh (re-draw) is required after the set; false otherwise.
Optional: True