StaticText

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

Methods:

getElements, toSource, toSpecifier

Objects:

Number, Object, String

Hierarchy:

Superclass: Widget

Class: StaticText

Property Listing

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

read/write

The width of the control. For an editbox or combobox, specifies the minimum width of the box.

parent

DialogRow

EnablingGroup

BorderPanel

DialogColumn

readonly

The parent of the StaticText (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).

properties

Object

read/write

A property that allows setting of several properties at the same time.

staticLabel

String

read/write

Text that appears in the StaticText.

Method Listing

Object getElements ()

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.

Return

StaticTexts.add()

StaticTexts.anyItem()

StaticTexts.everyItem()

StaticTexts.nextItem()

StaticTexts.previousItem()

StaticTexts.itemByID()

StaticTexts.item()

StaticTexts.itemByName()

StaticTexts.itemByRange()

StaticTexts.firstItem()

StaticTexts.lastItem()

StaticTexts.middleItem()