Menus
See also Menu.
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Menu [] (index:
number)
Returns the Menu with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Menu anyItem ()
Returns any Menu in the collection.
number count ()
Displays the number of elements in the Menu.
Array of Menu everyItem ()
Returns every Menu in the collection.
Menu firstItem ()
Returns the first Menu in the collection.
Menu item (index:
varies)
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. |
Menu itemByName (name:
string)
Returns the Menu with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of Menu itemByRange (from:
varies, to:
varies)
Returns the Menus within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer Menu String | The Menu, index, or name at the beginning of the range. Can accept: Menu, Long Integer or String. |
to | Long Integer Menu String | The Menu, index, or name at the end of the range. Can accept: Menu, Long Integer or String. |
Menu lastItem ()
Returns the last Menu in the collection.
Menu middleItem ()
Returns the middle Menu in the collection.
Menu nextItem (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. |
Menu previousItem (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
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |