StaticTexts

A collection of static text 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

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 Long String)

Returns the StaticText with the specified index or name.

Parameter

Type

Description

index

Long

String

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

StaticText itemByID (id:Number)

Returns the StaticText with the specified ID.

Parameter

Type

Description

id

Number

The ID.

StaticText itemByName (name:String)

Returns the StaticText with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the StaticTexts within the specified range.

Parameter

Type

Description

from

Long

StaticText

String

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

to

Long

StaticText

String

The StaticText, index, or name at the end of the range. Can accept: StaticText, Long 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