Difference between revisions of "LavishGUI:lguicombobox (Data Type)"
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
== See Also == | == See Also == | ||
* [[LavishGUI]] | * [[LavishGUI]] | ||
+ | * [[LavishGUI:combobox_%28Element_Type%29|combobox (Element Type)]] | ||
* [[LavishScript:Data Types|LavishScript Data Types]] | * [[LavishScript:Data Types|LavishScript Data Types]] | ||
* [[IS:Session#Data_Types|Inner Space Session Data Types]] | * [[IS:Session#Data_Types|Inner Space Session Data Types]] | ||
[[Category:LavishGUI]] | [[Category:LavishGUI]] |
Revision as of 22:09, 15 December 2005
Contents
Description
This data type provides and controls data for LGUI comboboxes.
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 lguielement.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]
- This command selects ID # 2 in combobox