<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AClass%3ACEForm</id>
	<title>Lua:Class:CEForm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AClass%3ACEForm"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:Class:CEForm&amp;action=history"/>
	<updated>2026-06-26T11:36:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:Class:CEForm&amp;diff=8055&amp;oldid=prev</id>
		<title>Leunsel at 19:38, 23 June 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:Class:CEForm&amp;diff=8055&amp;oldid=prev"/>
		<updated>2026-06-23T19:38:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:38, 23 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Lua]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Lua]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CodeBox&lt;/del&gt;|'''class''' CEForm ''':''' Form}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Class&lt;/ins&gt;|'''class''' CEForm ''':''' Form}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The CEForm class represents a Cheat Engine form window.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The CEForm class represents a Cheat Engine form window.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leunsel</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:Class:CEForm&amp;diff=8054&amp;oldid=prev</id>
		<title>Leunsel: Initial page creation.</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:Class:CEForm&amp;diff=8054&amp;oldid=prev"/>
		<updated>2026-06-23T19:38:31Z</updated>

		<summary type="html">&lt;p&gt;Initial page creation.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
{{CodeBox|'''class''' CEForm ''':''' Form}}&lt;br /&gt;
&lt;br /&gt;
The CEForm class represents a Cheat Engine form window.&lt;br /&gt;
&lt;br /&gt;
A CEForm inherits from Form, ScrollingWinControl, CustomControl, WinControl, Control, Component, and Object. It can be created directly or loaded from a file or stream.&lt;br /&gt;
&lt;br /&gt;
===Inheritance===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Class&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Inherits From&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|CEForm&lt;br /&gt;
|Form&lt;br /&gt;
|A Cheat Engine form window.&lt;br /&gt;
|-&lt;br /&gt;
|Form&lt;br /&gt;
|ScrollingWinControl&lt;br /&gt;
|Base class for form windows.&lt;br /&gt;
|-&lt;br /&gt;
|ScrollingWinControl&lt;br /&gt;
|CustomControl&lt;br /&gt;
|Base class for controls that can contain scrollable child controls.&lt;br /&gt;
|-&lt;br /&gt;
|CustomControl&lt;br /&gt;
|WinControl&lt;br /&gt;
|Base class for custom windowed controls.&lt;br /&gt;
|-&lt;br /&gt;
|WinControl&lt;br /&gt;
|Control&lt;br /&gt;
|Base class for windowed controls.&lt;br /&gt;
|-&lt;br /&gt;
|Control&lt;br /&gt;
|Component&lt;br /&gt;
|Base class for visual controls.&lt;br /&gt;
|-&lt;br /&gt;
|Component&lt;br /&gt;
|Object&lt;br /&gt;
|Base class for components.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Creation===&lt;br /&gt;
{{CodeBox|'''function''' createForm(''visible'') ''':''' CEForm}}&lt;br /&gt;
{{CodeBox|'''function''' createFormFromFile(''filename'') ''':''' CEForm}}&lt;br /&gt;
{{CodeBox|'''function''' createFormFromStream(''stream'') ''':''' CEForm}}&lt;br /&gt;
&lt;br /&gt;
Creates or loads a CEForm object.&lt;br /&gt;
&lt;br /&gt;
createForm creates a new CEForm window. The ''visible'' parameter is optional and defaults to true.&lt;br /&gt;
&lt;br /&gt;
createFormFromFile loads a form from a file and returns the generated CEForm.&lt;br /&gt;
&lt;br /&gt;
createFormFromStream loads a form from a stream and returns the generated CEForm.&lt;br /&gt;
&lt;br /&gt;
===Function Parameters===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Function&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Parameter&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|createForm(visible)&lt;br /&gt;
|visible: Boolean (optional)&lt;br /&gt;
|If true, the form is visible after creation. Defaults to true.&lt;br /&gt;
|-&lt;br /&gt;
|createFormFromFile(filename)&lt;br /&gt;
|filename: String&lt;br /&gt;
|The path to the form file to load.&lt;br /&gt;
|-&lt;br /&gt;
|createFormFromStream(stream)&lt;br /&gt;
|stream: Stream&lt;br /&gt;
|The stream to load the form from.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
CEForm — The created or loaded CEForm object.&lt;br /&gt;
&lt;br /&gt;
===Properties===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Property&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Type&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|DoNotSaveInTable&lt;br /&gt;
|Boolean&lt;br /&gt;
|Set this to true if the form should not be saved in the table.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Methods===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Method&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Return Type&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|saveToFile(filename)&lt;br /&gt;
|void&lt;br /&gt;
|Saves the user-defined form to a file.&lt;br /&gt;
|-&lt;br /&gt;
|saveToStream(s)&lt;br /&gt;
|void&lt;br /&gt;
|Saves the user-defined form to the given stream.&lt;br /&gt;
|-&lt;br /&gt;
|getDoNotSaveInTable()&lt;br /&gt;
|Boolean&lt;br /&gt;
|Returns the DoNotSaveInTable property.&lt;br /&gt;
|-&lt;br /&gt;
|setDoNotSaveInTable(boolean)&lt;br /&gt;
|void&lt;br /&gt;
|Sets the DoNotSaveInTable property.&lt;br /&gt;
|-&lt;br /&gt;
|saveCurrentStateAsDesign()&lt;br /&gt;
|void&lt;br /&gt;
|Sets the current state of the form as the design state that will be saved when the table is saved.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local form = createForm(false)&lt;br /&gt;
&lt;br /&gt;
form.Caption = &amp;quot;CEForm Example&amp;quot;&lt;br /&gt;
form.Width = 400&lt;br /&gt;
form.Height = 250&lt;br /&gt;
form.centerScreen()&lt;br /&gt;
&lt;br /&gt;
form.show()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local form = createForm()&lt;br /&gt;
form.Caption = &amp;quot;Do Not Save Example&amp;quot;&lt;br /&gt;
&lt;br /&gt;
form.DoNotSaveInTable = true&lt;br /&gt;
&lt;br /&gt;
print(&amp;quot;DoNotSaveInTable: &amp;quot; .. tostring(form.DoNotSaveInTable))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local form = createForm()&lt;br /&gt;
form.Caption = &amp;quot;Save Form Example&amp;quot;&lt;br /&gt;
form.Width = 400&lt;br /&gt;
form.Height = 250&lt;br /&gt;
&lt;br /&gt;
form.saveCurrentStateAsDesign()&lt;br /&gt;
form.saveToFile(&amp;quot;C:\\\\Temp\\\\example_form.frm&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local form = createFormFromFile(&amp;quot;C:\\\\Temp\\\\example_form.frm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
if form ~= nil then&lt;br /&gt;
  form.Caption = &amp;quot;Loaded Form&amp;quot;&lt;br /&gt;
  form.show()&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local stream = createMemoryStream()&lt;br /&gt;
&lt;br /&gt;
local form = createForm()&lt;br /&gt;
form.Caption = &amp;quot;Stream Save Example&amp;quot;&lt;br /&gt;
&lt;br /&gt;
form.saveToStream(stream)&lt;br /&gt;
&lt;br /&gt;
stream.Position = 0&lt;br /&gt;
&lt;br /&gt;
local loadedForm = createFormFromStream(stream)&lt;br /&gt;
&lt;br /&gt;
if loadedForm ~= nil then&lt;br /&gt;
  loadedForm.Caption = &amp;quot;Loaded From Stream&amp;quot;&lt;br /&gt;
  loadedForm.show()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
stream.destroy()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{LuaSeeAlso}}&lt;/div&gt;</summary>
		<author><name>Leunsel</name></author>
		
	</entry>
</feed>