Beta Documentation - Subject to change.

Inserts an item to the list box.

Syntax

Lua
function ListBox:InsertItem(index, item);

Parameters

index
Type: number
The index to insert the item at.
item
Type: Control
The item to insert.

Remarks

Inserts an item to the list box.

See Also