StaticTexts
A collection of static text objects.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
StaticText [] (index:Number)
Returns the StaticText with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
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 LongInteger String)
Returns the StaticText with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
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 |
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 |
The StaticText, index, or name at the beginning of the range. Can accept: StaticText, Long Integer or String. |
to |
LongInteger |
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 |
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.
Object of
DialogColumn.staticTexts
EnablingGroup.staticTexts
BorderPanel.staticTexts
DialogRow.staticTexts