Widgets

A collection of widgets.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Widget [] (index:Number)

Returns the Widget with the specified index.

Parameter

Type

Description

index

Number

The index.

Widget anyItem ()

Returns any Widget in the collection.

Number count ()

Displays the number of elements in the Widget.

Widget everyItem ()

Returns every Widget in the collection.

Widget firstItem ()

Returns the first Widget in the collection.

Widget item (index:Varies LongInteger String)

Returns the Widget with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

Widget itemByID (id:Number)

Returns the Widget with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Widget itemByRange (from:Varies LongInteger Widget String, to:Varies LongInteger Widget String)

Returns the Widgets within the specified range.

Parameter

Type

Description

from

LongInteger

Widget

String

The Widget, index, or name at the beginning of the range. Can accept: Widget, Long Integer or String.

to

LongInteger

Widget

String

The Widget, index, or name at the end of the range. Can accept: Widget, Long Integer or String.

Widget lastItem ()

Returns the last Widget in the collection.

Widget middleItem ()

Returns the middle Widget in the collection.

Widget nextItem (obj:Widget)

Returns the Widget whose index follows the specified Widget in the collection.

Parameter

Type

Description

obj

Widget

The Widget whose index comes before the desired Widget.

Widget previousItem (obj:Widget)

Returns the Widget with the index previous to the specified index.

Parameter

Type

Description

obj

Widget

The index of the Widget that follows the desired Widget.

String toSource ()

Generates a string which, if executed, will return the Widget.

Object of

DialogColumn.widgets

RadiobuttonGroup.widgets

EnablingGroup.widgets

BorderPanel.widgets

DialogRow.widgets