Beta Documentation - Subject to change.

Sets the currently selected item.

Syntax

Lua
function ListBox:SetSelectedItem(item);

Parameters

item
Type: Control
The item to select.

Remarks

Sets the currently selected item.

See Also