StaticTexts
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
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.
Array
of StaticText everyItem ()
Returns every StaticText in the collection.
StaticText firstItem ()
Returns the first StaticText in the collection.
StaticText item (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. |
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. |
Array
of StaticText itemByRange (from:
any, to:
any)
Returns the StaticTexts within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer StaticText String | The StaticText, index, or name at the beginning of the range. Can accept: StaticText, Long Integer or String. |
to | Long Integer 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.
Element of
BorderPanel.staticTexts
DialogColumn.staticTexts
DialogRow.staticTexts
EnablingGroup.staticTexts
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |