Syntax
Lua |
---|
function ListBox:GetSelectedIndex(); |
Returns
Type: numberThe currently selected index or 0 if no item is selected.
Remarks
Gets the selected index. If nothing is selected this will return 0.
Lua |
---|
function ListBox:GetSelectedIndex(); |