Syntax
Lua |
---|
function ListBox:SetSelectedIndex(index); |
Parameters
- index
-
Type:
number
The index to select.
Remarks
Sets the selected index. If the index is out of range, nothing will be selected.
Lua |
---|
function ListBox:SetSelectedIndex(index); |