A collection of static text objects.
Methods
StaticTextadd ([withProperties:
Object])
Creates a new StaticText.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new StaticText (Optional) |
StaticTextanyItem ()
Returns any StaticText in the collection.
number count ()
Displays the number of elements in the StaticText.
Array of StaticTexteveryItem ()
Returns every StaticText in the collection.
StaticTextfirstItem ()
Returns the first StaticText in the collection.
StaticTextitem (index:
any)
Returns the StaticText with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
StaticTextitemByID (id:
number)
Returns the StaticText with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
StaticTextitemByName (name:
string)
Returns the StaticText with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of StaticTextitemByRange (from:
any, to:
any)
Returns the StaticTexts within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | StaticText Long Integer String |
The StaticText, index, or name at the beginning of the range. Can accept: StaticText, Long Integer or String. |
| to | StaticText Long Integer String |
The StaticText, index, or name at the end of the range. Can accept: StaticText, Long Integer or String. |
StaticTextlastItem ()
Returns the last StaticText in the collection.
StaticTextmiddleItem ()
Returns the middle StaticText in the collection.
StaticTextnextItem (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. |
StaticTextpreviousItem (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.
Element of:
BorderPanel.staticTexts
DialogColumn.staticTexts
DialogRow.staticTexts
EnablingGroup.staticTexts