LavishGUI:lguicombobox (Data Type)
Jump to navigation
Jump to search
Contents
Description
Members
- isuifont Font : font object the combobox is using
- bool Down : TRUE if combobox is pressed
- int Selection : ID # of selected item in combobox
Methods
- SetSelection[#] : sets which item in combobox is selected by ID <#>
Inherits
Returns
Same as isuielement.Name
Examples
Display which item in the combobox is selected
- echo ID selected: ${UIElement[test].FindChild[test].Selection}
- Output
ID selected: 3
Select a specific item in combobox
- UIElement[test].FindChild[test]:SetSelection[2]
- selects ID # 2 in combobox