Widgets

A collection of widgets.

Methods

WidgetanyItem ()
Returns any Widget in the collection.

number count ()
Displays the number of elements in the Widget.

Array of WidgeteveryItem ()
Returns every Widget in the collection.

WidgetfirstItem ()
Returns the first Widget in the collection.

Widgetitem (index:
any)
Returns the Widget with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

WidgetitemByID (id:
number)
Returns the Widget with the specified ID.

Parameter Type Description
id number The ID.

WidgetitemByName (name:
string)
Returns the Widget with the specified name.

Parameter Type Description
name string The name.

Array of WidgetitemByRange (from:
any, to:
any)
Returns the Widgets within the specified range.

Parameter Type Description
from Widget
Long Integer
String
The Widget, index, or name at the beginning of the range. Can accept: Widget, Long Integer or String.
to Widget
Long Integer
String
The Widget, index, or name at the end of the range. Can accept: Widget, Long Integer or String.

WidgetlastItem ()
Returns the last Widget in the collection.

WidgetmiddleItem ()
Returns the middle Widget in the collection.

WidgetnextItem (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.

WidgetpreviousItem (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.

Element of:

BorderPanel.widgets
DialogColumn.widgets
DialogRow.widgets
EnablingGroup.widgets

Leave a Comment

Previous post:

Next post: