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