A collection of static text objects.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
StaticText add (withProperties:Object)
Creates a new StaticText.
|
Parameter |
Type |
Description |
|---|---|---|
|
withProperties |
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 |
The index or name. Can accept: Long or String. |
StaticText itemByID (id:Number)
Returns the StaticText with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
StaticText itemByName (name:String)
Returns the StaticText with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
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 |
The StaticText, index, or name at the beginning of the range. Can accept: StaticText, Long or String. |
|
to |
Long |
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 |
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 |
The index of the StaticText that follows the desired StaticText. |
String toSource ()
Generates a string which, if executed, will return the StaticText.
DialogColumn.staticTexts
EnablingGroup.staticTexts
BorderPanel.staticTexts
DialogRow.staticTexts