StaticTexts

A collection of static text objects.

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

StaticText [] (index:Number)

Returns the StaticText with the specified index.

Parameter

Type

Description

index

Number

The index.

StaticText add (withProperties:Object)

Creates a new StaticText.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new StaticText (Optional)

StaticText anyItem ()

Returns any StaticText in the collection.

Number count ()

Displays the number of elements in the StaticText.

StaticText everyItem ()

Returns every StaticText in the collection.

StaticText firstItem ()

Returns the first StaticText in the collection.

StaticText item (index:Varies LongInteger String)

Returns the StaticText with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

StaticText itemByID (id:Number)

Returns the StaticText with the specified ID.

Parameter

Type

Description

id

Number

The ID.

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

Returns the StaticTexts within the specified range.

Parameter

Type

Description

from

LongInteger

StaticText

String

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

to

LongInteger

StaticText

String

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

StaticText lastItem ()

Returns the last StaticText in the collection.

StaticText middleItem ()

Returns the middle StaticText in the collection.

StaticText nextItem (obj:StaticText)

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

Parameter

Type

Description

obj

StaticText

The StaticText whose index comes before the desired StaticText.

StaticText previousItem (obj:StaticText)

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

Parameter

Type

Description

obj

StaticText

The index of the StaticText that follows the desired StaticText.

String toSource ()

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

Object of

DialogColumn.staticTexts

EnablingGroup.staticTexts

BorderPanel.staticTexts

DialogRow.staticTexts