Dialogs

A collection of dialogs.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, 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

Dialog [] (index:Number)

Returns the Dialog with the specified index.

Parameter

Type

Description

index

Number

The index.

Dialog add (withProperties:Object)

Creates a new Dialog.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new Dialog (Optional)

Dialog anyItem ()

Returns any Dialog in the collection.

Number count ()

Displays the number of elements in the Dialog.

Dialog everyItem ()

Returns every Dialog in the collection.

Dialog firstItem ()

Returns the first Dialog in the collection.

Dialog item (index:Varies LongInteger String)

Returns the Dialog with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Dialog itemByID (id:Number)

Returns the Dialog with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Dialog itemByName (name:String)

Returns the Dialog with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Dialogs within the specified range.

Parameter

Type

Description

from

Dialog

LongInteger

String

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

to

Dialog

LongInteger

String

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

Dialog lastItem ()

Returns the last Dialog in the collection.

Dialog middleItem ()

Returns the middle Dialog in the collection.

Dialog nextItem (obj:Dialog)

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

Parameter

Type

Description

obj

Dialog

The Dialog whose index comes before the desired Dialog.

Dialog previousItem (obj:Dialog)

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

Parameter

Type

Description

obj

Dialog

The index of the Dialog that follows the desired Dialog.

String toSource ()

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

Object of

Application.dialogs