Beta Documentation - Subject to change.

Sets the item at the specified index.

Syntax

Lua
function ListBox:SetItem(index, item);

Parameters

index
Type: number
The index of the item to set.
item
Type: Control
The item to set at the specified index.

Remarks

Sets the item at the specified index.

See Also