TextEditbox
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
editContents | string | r/w | The default value in an editbox control. Note: Do not specify both edit contents and edit value. If both are specified, the one that occurs later in the script is used. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the TextEditbox. |
index | number | readonly | The index of the TextEditbox within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
minWidth | number | r/w | The width of the control. For an editbox or combobox, specifies the minimum width of the box. |
parent | BorderPanelDialogColumn DialogRow EnablingGroup |
readonly | The parent of the TextEditbox (a DialogColumn, DialogRow, EnablingGroup or BorderPanel). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of TextEditbox getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the TextEditbox.
Used in:
TextEditbox TextEditboxes.nextItem (obj: TextEditbox)
TextEditbox TextEditboxes.previousItem (obj: TextEditbox)
Return
Array of TextEditbox TextEditbox.getElements ()
TextEditbox TextEditboxes.[] (index: number)
TextEditbox TextEditboxes.add ([withProperties: Object])
TextEditbox TextEditboxes.anyItem ()
Array of TextEditbox TextEditboxes.everyItem ()
TextEditbox TextEditboxes.firstItem ()
TextEditbox TextEditboxes.item (index: varies)
TextEditbox TextEditboxes.itemByID (id: number)
Array of TextEditbox TextEditboxes.itemByRange (from: varies, to: varies)
TextEditbox TextEditboxes.lastItem ()
TextEditbox TextEditboxes.middleItem ()
TextEditbox TextEditboxes.nextItem (obj: TextEditbox)
TextEditbox TextEditboxes.previousItem (obj: TextEditbox)
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |