Difference between revisions of "Lua:getForm"

From Cheat Engine
Jump to navigation Jump to search
m (Syntax Highlighting.)
m
 
Line 26: Line 26:
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
=== Related Functions ===
+
{{Forms}}
* [[Lua:getFormCount|getFormCount]]
 
* [[Lua:getMainForm|getMainForm]]
 
* [[Lua:getSettingsForm|getSettingsForm]]
 
* [[Lua:getMemoryViewForm|getMemoryViewForm]]
 
* [[Lua:getLuaEngine|getLuaEngine]]
 
* [[Lua:registerFormAddNotification|registerFormAddNotification]]
 

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

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Form Related Classes