Panels

A collection of panels.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Panel [] (index:Number)

Returns the Panel with the specified index.

Parameter

Type

Description

index

Number

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

String

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

String

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

Panel

String

The Panel, index, or name at the beginning of the range. Can accept: Panel, Long Integer or String.

to

LongInteger

Panel

String

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

Panel

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

Panel

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