CloseWindowBehaviors

A collection of close window behavior objects.

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

CloseWindowBehavior add (withProperties:Object)

Creates a new CloseWindowBehavior.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new CloseWindowBehavior (Optional)

CloseWindowBehavior anyItem ()

Returns any CloseWindowBehavior in the collection.

Number count ()

Displays the number of elements in the CloseWindowBehavior.

CloseWindowBehavior everyItem ()

Returns every CloseWindowBehavior in the collection.

CloseWindowBehavior firstItem ()

Returns the first CloseWindowBehavior in the collection.

CloseWindowBehavior item (index:Varies LongInteger String)

Returns the CloseWindowBehavior with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

CloseWindowBehavior itemByID (id:Number)

Returns the CloseWindowBehavior with the specified ID.

Parameter

Type

Description

id

Number

The ID.

CloseWindowBehavior itemByName (name:String)

Returns the CloseWindowBehavior with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the CloseWindowBehaviors within the specified range.

Parameter

Type

Description

from

CloseWindowBehavior

LongInteger

String

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

to

CloseWindowBehavior

LongInteger

String

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

CloseWindowBehavior lastItem ()

Returns the last CloseWindowBehavior in the collection.

CloseWindowBehavior middleItem ()

Returns the middle CloseWindowBehavior in the collection.

CloseWindowBehavior nextItem (obj:CloseWindowBehavior)

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

Parameter

Type

Description

obj

CloseWindowBehavior

The CloseWindowBehavior whose index comes before the desired CloseWindowBehavior.

CloseWindowBehavior previousItem (obj:CloseWindowBehavior)

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

Parameter

Type

Description

obj

CloseWindowBehavior

The index of the CloseWindowBehavior that follows the desired CloseWindowBehavior.

String toSource ()

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

Object of

FormField.closeWindowBehaviors

Button.closeWindowBehaviors