Difference between revisions of "GUIComboBox"
From Virtual World Web Wiki
(Documentation for the GUIComboBox class) |
(Documentation for the GUIComboBox class) |
||
Line 1: | Line 1: | ||
+ | * '''Inherits class: [[GUIDropdownComponent]]''' | ||
+ | * This is a JavaScript visible object | ||
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIComboBox Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:GUIComboBox Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
{{:GUIComboBox Remarks}} | {{:GUIComboBox Remarks}} | ||
Line 11: | Line 13: | ||
===Events=== | ===Events=== | ||
:{{CSharp|OnSelect(EventHandler<FlexibleEventArgs>)}} | :{{CSharp|OnSelect(EventHandler<FlexibleEventArgs>)}} | ||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
− | :{{CSharp| | + | :{{CSharp|ReturnType AddItem(string itemName)}} |
+ | |||
+ | :{{CSharp|void ClearItems()}} | ||
+ | |||
+ | :{{CSharp|ReturnType GetItem(int id)}} | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 16:35, 21 October 2016
- Inherits class: GUIDropdownComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- int SelectedIndex {get; set;}
- GUIButton SelectedItem {get;}
- bool UpdateLabel {get; set;}
Events
- OnSelect(EventHandler<FlexibleEventArgs>)
Methods
- ReturnType AddItem(string itemName)
- void ClearItems()
- ReturnType GetItem(int id)