Widgets
A collection of widgets.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Widget [] (index:Number)
Returns the Widget with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
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 |
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 |
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 |
The Widget, index, or name at the beginning of the range. Can accept: Widget, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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