Beta Documentation - Subject to change.

Sets the menu item at the specified index.

Syntax

Lua
function ControlList:Set(index, item);

Parameters

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

Remarks

Sets the menu item at the specified index.

See Also