Lua:getForm

From Cheat Engine
Revision as of 08:15, 11 March 2017 by TheyCallMeTim13 (talk | contribs) (Created page with ''''function''' getForm(''Index'') Returns the form at the specific index. === Function Parameters === {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0…')
(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

Parameter Type Description
Index integer The index of the form to get

Examples

for i = 1, getFormCount() - 1 do
  local frm = getForm(i)
  if frm.ClassName = 'TMainForm' then
    -- ...
    break
  end
end

See also

Related Functions