Dialogs

A collection of dialogs.

Methods

Dialogadd ([withProperties:
Object])
Creates a new Dialog.

Parameter Type Description
withProperties Object Initial values for properties of the new Dialog (Optional)

DialoganyItem ()
Returns any Dialog in the collection.

number count ()
Displays the number of elements in the Dialog.

Array of DialogeveryItem ()
Returns every Dialog in the collection.

DialogfirstItem ()
Returns the first Dialog in the collection.

Dialogitem (index:
any)
Returns the Dialog with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

DialogitemByID (id:
number)
Returns the Dialog with the specified ID.

Parameter Type Description
id number The ID.

DialogitemByName (name:
string)
Returns the Dialog with the specified name.

Parameter Type Description
name string The name.

Array of DialogitemByRange (from:
any, to:
any)
Returns the Dialogs within the specified range.

Parameter Type Description
from Dialog
Long Integer
String
The Dialog, index, or name at the beginning of the range. Can accept: Dialog, Long Integer or String.
to Dialog
Long Integer
String
The Dialog, index, or name at the end of the range. Can accept: Dialog, Long Integer or String.

DialoglastItem ()
Returns the last Dialog in the collection.

DialogmiddleItem ()
Returns the middle Dialog in the collection.

DialognextItem (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.

DialogpreviousItem (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.

Element of:

Application.dialogs

Leave a Comment

Previous post:

Next post: