MenuElements
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
MenuElement [] (index:
number)
Returns the MenuElement with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
MenuElement anyItem ()
Returns any MenuElement in the collection.
number count ()
Displays the number of elements in the MenuElement.
Array of MenuElement everyItem ()
Returns every MenuElement in the collection.
MenuElement firstItem ()
Returns the first MenuElement in the collection.
MenuElement item (index:
any)
Returns the MenuElement with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
MenuElement itemByName (name:
string)
Returns the MenuElement with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of MenuElement itemByRange (from:
any, to:
any)
Returns the MenuElements within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer MenuElement String | The MenuElement, index, or name at the beginning of the range. Can accept: MenuElement, Long Integer or String. |
to | Long Integer MenuElement String | The MenuElement, index, or name at the end of the range. Can accept: MenuElement, Long Integer or String. |
MenuElement lastItem ()
Returns the last MenuElement in the collection.
MenuElement middleItem ()
Returns the middle MenuElement in the collection.
MenuElement nextItem (obj:
MenuElement)
Returns the MenuElement whose index follows the specified MenuElement in the collection.
Parameter | Type | Description |
---|---|---|
obj | MenuElement | The MenuElement whose index comes before the desired MenuElement. |
MenuElement previousItem (obj:
MenuElement)
Returns the MenuElement with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | MenuElement | The index of the MenuElement that follows the desired MenuElement. |
string toSource ()
Generates a string which, if executed, will return the MenuElement.
Element of
Menu.menuElements
Submenu.menuElements
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |