Module controls.combobox

ComboBox module

Functions

ComboBox:Select (itemIdx) Selects an item by id

Tables

ComboBox ComboBox fields.


Functions

ComboBox:Select (itemIdx)
Selects an item by id

Parameters:

  • itemIdx int id of the item to be selected

Tables

ComboBox
ComboBox fields. Inherits from Control.

Fields:

  • items {"item1","item2",...} table of items in the ComboBox, (default {"items"})
  • selected int id of the selected item (default 1)
  • OnSelect {func1,func2,...} listener functions for selected item changes, (default {})

See also:

generated by LDoc 1.4.0