Difference between revisions of "Lua:getForm"
Jump to navigation
Jump to search
m (Syntax Highlighting.) |
m |
||
| Line 26: | Line 26: | ||
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| − | + | {{Forms}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 19:54, 26 June 2026
function getForm(Index)
Returns the form at the specific index.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| Index | integer | The index of the form to get |
Examples[edit]
1 for i = 0, getFormCount() - 1 do
2 local frm = getForm(i)
3 print(frm.ClassName)
4 print(frm.Caption)
5 end