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]]''' | *'''Inherits class: [[GUIDropdownComponent]]''' | ||
* This is a JavaScript visible object | * This is a JavaScript visible object | ||
Line 8: | Line 6: | ||
===Properties=== | ===Properties=== | ||
:{{CSharp|int SelectedIndex {get; set;} }} | :{{CSharp|int SelectedIndex {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISelectableComponent SelectedItem {get;} }} | :{{CSharp|GUISelectableComponent SelectedItem {get;} }} | ||
− | |||
− | |||
:{{CSharp|bool UpdateLabel {get; set;} }} | :{{CSharp|bool UpdateLabel {get; set;} }} | ||
− | |||
− | |||
===Events=== | ===Events=== | ||
:{{CSharp|OnSelect()}} | :{{CSharp|OnSelect()}} | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
:{{CSharp|GUIComponent AddItem(string itemName, string template {{=}} NULL)}} | :{{CSharp|GUIComponent AddItem(string itemName, string template {{=}} NULL)}} | ||
− | |||
− | |||
:{{CSharp|void ClearItems()}} | :{{CSharp|void ClearItems()}} | ||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:49, 26 May 2017
- Inherits class: GUIDropdownComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- int SelectedIndex {get; set;}
- GUISelectableComponent SelectedItem {get;}
- bool UpdateLabel {get; set;}
Events
- OnSelect()
Methods
- GUIComponent AddItem(string itemName, string template = NULL)
- void ClearItems()