Difference between revisions of "Lua:getForm"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' getForm(''Index'') | '''function''' getForm(''Index'') | ||
Revision as of 13:19, 19 March 2017
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 = 1, getFormCount() - 1 do local frm = getForm(i) print(frm.ClassName) print(frm.Caption) end