MenuActions
A collection of menu actions.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
MenuAction [] (index:Number)
Returns the MenuAction with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
MenuAction anyItem ()
Returns any MenuAction in the collection.
Number count ()
Displays the number of elements in the MenuAction.
MenuAction everyItem ()
Returns every MenuAction in the collection.
MenuAction firstItem ()
Returns the first MenuAction in the collection.
MenuAction item (index:Varies LongInteger String)
Returns the MenuAction with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
MenuAction itemByID (id:Number)
Returns the MenuAction with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
MenuAction itemByName (name:String)
Returns the MenuAction with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
MenuAction itemByRange (from:Varies LongInteger MenuAction String, to:Varies LongInteger MenuAction String)
Returns the MenuActions within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The MenuAction, index, or name at the beginning of the range. Can accept: MenuAction, Long Integer or String. |
to |
LongInteger |
The MenuAction, index, or name at the end of the range. Can accept: MenuAction, Long Integer or String. |
MenuAction lastItem ()
Returns the last MenuAction in the collection.
MenuAction middleItem ()
Returns the middle MenuAction in the collection.
MenuAction nextItem (obj:MenuAction)
Returns the MenuAction whose index follows the specified MenuAction in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The MenuAction whose index comes before the desired MenuAction. |
MenuAction previousItem (obj:MenuAction)
Returns the MenuAction with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the MenuAction that follows the desired MenuAction. |
String toSource ()
Generates a string which, if executed, will return the MenuAction.
Object of
Application.menuActions