Combobox object

Event Description
Combobox.onClick() Event occurs when the user clicks on the Combobox
Combobox.onShow() Event fired when the Combobox is shown
Combobox.onHide() Event fired when the Combobox is hidden
Combobox.onCreate() Event fired when Combobox has just been created
Combobox.onChange() Event fired when Combobox has modified the Combobox text
Combobox.onSelect() Event fired when the user selects an item in the Combobox
Property Description Access Type
Combobox.text Get/set the Combobox text content readwrite string
Combobox.x Get/set the Combobox's horizontal position readwrite number
Combobox.y Get/set the Combobox's vertical position readwrite number
Combobox.width Get/set the Combobox's width readwrite number
Combobox.height Get/set the Combobox's height readwrite number
Combobox.count Get the count of items in the Combobox readonly number
Combobox.cursor Get/set the image of the mouse cursor as it hovers over the Combobox readwrite string
Combobox.align Align the Combobox relative to its parent readwrite boolean
Combobox.enabled Controls whether the Combobox responds to mouse and other events readwrite boolean
Combobox.visible Controls whether the Combobox appears on screen readwrite boolean
Combobox.parent Get the Combobox's parent widget readonly Window | Groupbox
TabItem | Panel
Combobox.font Get/set the Combobox font readwrite string
Combobox.fontstyle Get/set the Combobox font style readwrite table
Combobox.fontsize Get/set the Combobox font size readwrite number
Combobox.items Get/set the list of the Combobox items readwrite table
Combobox.selected Get/set the selected Combobox item readonly ComboItem
Combobox.style Get/set the Combobox style readwrite string
Method Description Return value
Combobox.constructor() Combobox object constructor Combobox
Combobox.center() Centers the Combobox on the parent widget -
Combobox.show() Shows the Combobox -
Combobox.hide() Hides the Combobox -
Combobox.add() Add an item to the Combobox ComboItem
Combobox.remove() Remove an item from the Combobox -
Combobox.clear() Remove all items from the Combobox -
Combobox.tofront() Brings the widget in front -
Combobox.toback() Puts the widget to the back -