Dropdowns

A collection of dropdowns.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Dropdown [] (index:Number)

Returns the Dropdown with the specified index.

Parameter

Type

Description

index

Number

The index.

Dropdown add (withProperties:Object)

Creates a new Dropdown.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new Dropdown (Optional)

Dropdown anyItem ()

Returns any Dropdown in the collection.

Number count ()

Displays the number of elements in the Dropdown.

Dropdown everyItem ()

Returns every Dropdown in the collection.

Dropdown firstItem ()

Returns the first Dropdown in the collection.

Dropdown item (index:Varies LongInteger String)

Returns the Dropdown with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

Dropdown itemByID (id:Number)

Returns the Dropdown with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Dropdown itemByRange (from:Varies Dropdown LongInteger String, to:Varies Dropdown LongInteger String)

Returns the Dropdowns within the specified range.

Parameter

Type

Description

from

Dropdown

LongInteger

String

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

to

Dropdown

LongInteger

String

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

Dropdown lastItem ()

Returns the last Dropdown in the collection.

Dropdown middleItem ()

Returns the middle Dropdown in the collection.

Dropdown nextItem (obj:Dropdown)

Returns the Dropdown whose index follows the specified Dropdown in the collection.

Parameter

Type

Description

obj

Dropdown

The Dropdown whose index comes before the desired Dropdown.

Dropdown previousItem (obj:Dropdown)

Returns the Dropdown with the index previous to the specified index.

Parameter

Type

Description

obj

Dropdown

The index of the Dropdown that follows the desired Dropdown.

String toSource ()

Generates a string which, if executed, will return the Dropdown.

Object of

DialogColumn.dropdowns

EnablingGroup.dropdowns

BorderPanel.dropdowns

DialogRow.dropdowns