MenuItem object

Event Description
MenuItem.onClick() Event fired when the user clicks on the MenuItem
Property Description Access Type
MenuItem.index Get/set the MenuItem position in its Menu readwrite number
MenuItem.text Get/set the MenuItem caption readwrite string
MenuItem.submenu Get/set the submenu of the MenuItem readwrite Menu
MenuItem.checked Get/set the checked state of the MenuItem readwrite boolean
MenuItem.enabled Get/set the enabled state of the MenuItem readwrite boolean
Method Description Return value
MenuItem.remove() Remove the MenuItem from its Menu -
MenuItem.loadicon() Set the MenuItem icon boolean