Syntax
Lua |
---|
function ControlList:IndexOf(item); |
Parameters
- item
-
Type:
Control
The item to get the index of.
Returns
Type: numberThe index of the item in the list or -1 if it does not exist in the list.
Remarks
Gets the index of a menu item in the list.