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:

    Canvas
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:

    Strings
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:

Returns:

    ComboBox
generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35