A dropdown control.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| id | number | readonly | The unique ID of the Dropdown. |
| index | number | readonly | The index of the Dropdown 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 Dropdown (a DialogColumn, DialogRow, EnablingGroup or BorderPanel). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| selectedIndex | number | r/w | The index of the selection in a dropdown or combobox control. |
| stringList | Array of string | r/w | The menu items on a dropdown or combobox control, as an array of strings. |
Methods
Array of DropdowngetElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the Dropdown.
string toSpecifier ()
Retrieves the object specifier.
Used in:
Dropdowns.previousItem (
obj:
Dropdown )
Dropdowns.nextItem (
obj:
Dropdown )
Returned by:
Array of Dropdown Dropdown .getElements (
)
Dropdown Dropdowns.add (
[withProperties:
Object]
)
Dropdown Dropdowns.anyItem (
)
Array of Dropdown Dropdowns.everyItem (
)
Dropdown Dropdowns.firstItem (
)
Dropdown Dropdowns.item (
index:
any
)
Dropdown Dropdowns.itemByID (
id:
number
)
Dropdown Dropdowns.itemByName (
name:
string
)
Array of Dropdown Dropdowns.itemByRange (
from:
any, to:
any
)
Dropdown Dropdowns.lastItem (
)
Dropdown Dropdowns.middleItem (
)
Dropdown Dropdowns.nextItem (
obj:
Dropdown
)
Dropdown Dropdowns.previousItem (
obj:
Dropdown
)