Class ComboBox
Inheritance
WinControl | ComboBox 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
Canvas | The canvas object used to render on the object. |
ItemIndex | Get selected index. |
Items | Strings derived object containings all the items in the list. |
Methods
clear () | |
getCanvas () | |
getExtraWidth () | Returns the number of pixels not part of the text of the combobox. |
getItemIndex () | |
getItems () | |
setItemIndex ( index ) | |
setItems () |
Creation
createComboBox ( owner ) | Creates a ComboBox class object which belongs to the given owner. |
Inheritance
- WinControl
- ComboBox 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- Canvas
-
The canvas object used to render on the object.
Type:
- ItemIndex
-
Get selected index.
-1 is nothing selected.
Type:
integer - Items
-
Strings derived object containings all the items in the list.
Type:
Methods
- clear ()
- getCanvas ()
-
Returns:
- getExtraWidth ()
-
Returns the number of pixels not part of the text of the combobox.
(think about borders, thumb button, etc...)
Returns:
-
integer
- getItemIndex ()
-
Returns:
-
integer
- getItems ()
-
Returns:
- setItemIndex ( index )
-
Parameters:
- index integer
- setItems ()
Creation
- createComboBox ( owner )
-
Creates a ComboBox class object which belongs to the given owner.
Owner can be any object inherited from WinControl.
Parameters:
- owner WinControl
Returns: