Lua:getForm

From Cheat Engine
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))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]

for i = 0, getFormCount() - 1 do
  local frm = getForm(i)
  print(frm.ClassName)
  print(frm.Caption)
end

See also[edit]

Related Functions[edit]