ComboBox
This type represents a combo box control.
This type inherits ControlContainer type. All of its base methods and fields are also available in this type.
add method expects an instance of Selectable. Passing other control types will not add them to the list.
Value bits are toggled in order of selectables. That means if the first element is toggled, so will be the first bit, etc.
__call
Constructor
Constructs the combo box.
Arguments
Name
Type
Description
Returns
Type
Description
ComboBox
Combo box instance.
Example
local cb = gui.ComboBox(id);allowMultiple
Field
Type: bool
If set to true, the checkbox will be able to toggle multiple selectables.
GetValue
Method
Returns combo box' value.
Arguments
None.
Returns
Type
Description
Value data.
Example
Get
Method
Returns value directly. Alias for GetValue():Get() .
Arguments
None.
Returns
Type
Description
bits
Value.
Example
Last updated