Behaviors

A collection of behavior objects.

Methods:

[], 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

Behavior [] (index:Number)

Returns the Behavior with the specified index.

Parameter

Type

Description

index

Number

The index.

Behavior anyItem ()

Returns any Behavior in the collection.

Number count ()

Displays the number of elements in the Behavior.

Behavior everyItem ()

Returns every Behavior in the collection.

Behavior firstItem ()

Returns the first Behavior in the collection.

Behavior item (index:Varies LongInteger String)

Returns the Behavior with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Behavior itemByID (id:Number)

Returns the Behavior with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Behavior itemByName (name:String)

Returns the Behavior with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Behaviors within the specified range.

Parameter

Type

Description

from

Behavior

LongInteger

String

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

to

Behavior

LongInteger

String

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

Behavior lastItem ()

Returns the last Behavior in the collection.

Behavior middleItem ()

Returns the middle Behavior in the collection.

Behavior nextItem (obj:Behavior)

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

Parameter

Type

Description

obj

Behavior

The Behavior whose index comes before the desired Behavior.

Behavior previousItem (obj:Behavior)

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

Parameter

Type

Description

obj

Behavior

The index of the Behavior that follows the desired Behavior.

String toSource ()

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

Object of

Button.behaviors

CheckBox.behaviors

ComboBox.behaviors

ListBox.behaviors

RadioButton.behaviors

TextBox.behaviors

SignatureField.behaviors