UIComboBox

onselectedindexchanged

Type: event
Return: function
Description: fires when the combobox selection has changed

id

Type: property (read/write)
Return: string
Description: an identifier for the combobox

x

Type: property (read/write)
Return: int
Description: the x position of the combobox

y

Type: property (read/write)
Return: int
Description: the y position of the combobox

visible

Type: property (read/write)
Return: bool
Description: whether the combobox is visible on the UI panel

enabled

Type: property (read/write)
Return: bool
Description: whether the combobox is clickable

width

Type: property (read/write)
Return: int
Description: the width of the combobox

promote

Type: function
Return: void
Description: increase the z index of the combobox

demote

Type: function
Return: void
Description: decrease the z index of the combobox

selectedIndex

Type: property (read/write)
Return: int
Description: get or set the selected item in the combobox

itemAt

Type: function
Return: string
Description: get an item's text based on it's index or position within the combobox
Argument 1: int

add

Type: function
Return: void
Description: add an item to the end of the combobox
Argument 1: string

insertAt

Type: function
Return: void
Description: insert an item into the combobox at a specific index or position
Argument 1: int
Argument 2: string

removeAt

Type: function
Return: void
Description: remove an item from the combobox at a specific index or position
Argument 1: int

clear

Type: function
Return: void
Description: remove all items from the combobox

length

Type: property (read only)
Return: int
Description: return the number of items in the combobox

Last edited Feb 6, 2014 at 9:09 PM by oobenoob, version 3