Adds an event listener.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| MenuAction | readonly | The menu action that implements the menu item. | |
| Boolean | readonly | If true, the menu item associated with the menu action is checked. | |
| Boolean | readonly | If true, the MenuItem is enabled. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the MenuItem. | |
| Number | readonly | The index of the MenuItem within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | readonly | The name of the MenuItem. | |
| Menu | Submenu | readonly | The parent of the MenuItem (a Menu or Submenu). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| String | readonly | The name of the MenuItem for display in the user interface. The title includes any ampersand characters (&), which are used to tell the Windows OS to underline the following character in the name for use with the Alt key to navigate to a menu item. Double ampersands are used to display an actual ampersand character in the name. The Mac OS ignores and removes the extra ampersand characters. |
Methods
→ MenuItem[]
Resolves the object specifier, creating an array of object references.
→ void
Deletes the MenuItem.
→ Boolean
Removes the event listener.
→ void
Selects the MenuItem.
→ String
Generates a string which, if executed, will return the MenuItem.
→ String
Retrieves the object specifier.
Object of 3
Properties elsewhere that hold a MenuItem.
Parameter of 3
Method parameters that accept a MenuItem.
Return 14
Methods that return a MenuItem.