StaticText

A static text control (typically a label for another control or a set of controls).

Properties

Property Type Access Description
id number readonly The unique ID of the StaticText.
index number readonly The index of the StaticText within its containing object.
minWidth number r/w The width of the control. For an editbox or combobox, specifies the minimum width of the box.
parent any readonly The parent of the StaticText (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).
properties Object r/w A property that allows setting of several properties at the same time.
staticLabel string r/w Text that appears in the StaticText.

Methods

Array of StaticTextgetElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the StaticText.

string toSpecifier ()
Retrieves the object specifier.

Used in:

StaticTexts.previousItem (

obj:
StaticText )

StaticTexts.nextItem (

obj:
StaticText )

Returned by:

Array of StaticText StaticText .getElements (

)

StaticText StaticTexts.add (
[withProperties:
Object]
)

StaticText StaticTexts.anyItem (

)

Array of StaticText StaticTexts.everyItem (

)

StaticText StaticTexts.firstItem (

)

StaticText StaticTexts.item (
index:
any
)

StaticText StaticTexts.itemByID (
id:
number
)

StaticText StaticTexts.itemByName (
name:
string
)

Array of StaticText StaticTexts.itemByRange (
from:
any, to:
any
)

StaticText StaticTexts.lastItem (

)

StaticText StaticTexts.middleItem (

)

StaticText StaticTexts.nextItem (
obj:
StaticText
)

StaticText StaticTexts.previousItem (
obj:
StaticText
)

Leave a Comment

Previous post:

Next post: