Lua:getForm
Revision as of 09:00, 24 August 2020 by Matthewvukomanovic (talk | contribs) (Correct the example to list all forms (it was missing the first one))
function getForm(Index)
Returns the form at the specific index.
Function Parameters
Parameter | Type | Description |
---|---|---|
Index | integer | The index of the form to get |
Examples
for i = 0, getFormCount() - 1 do local frm = getForm(i) print(frm.ClassName) print(frm.Caption) end