A collection of menus.
Methods
MenuanyItem ()
Returns any Menu in the collection.
number count ()
Displays the number of elements in the Menu.
Array of MenueveryItem ()
Returns every Menu in the collection.
MenufirstItem ()
Returns the first Menu in the collection.
Menuitem (index:
any)
Returns the Menu with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
MenuitemByName (name:
string)
Returns the Menu with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of MenuitemByRange (from:
any, to:
any)
Returns the Menus within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Menu Long Integer String |
The Menu, index, or name at the beginning of the range. Can accept: Menu, Long Integer or String. |
| to | Menu Long Integer String |
The Menu, index, or name at the end of the range. Can accept: Menu, Long Integer or String. |
MenulastItem ()
Returns the last Menu in the collection.
MenumiddleItem ()
Returns the middle Menu in the collection.
MenunextItem (obj:
Menu)
Returns the Menu whose index follows the specified Menu in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Menu | The Menu whose index comes before the desired Menu. |
MenupreviousItem (obj:
Menu)
Returns the Menu with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Menu | The index of the Menu that follows the desired Menu. |
string toSource ()
Generates a string which, if executed, will return the Menu.
Element of:
Application.menus