Difference between revisions of "Lua:getMemoryViewForm"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' getMemoryViewForm() ''':''' Form Returns the main memory view Form class object which can be accessed using the Form class methods and the methods of…')
 
m (Reverted edits by This content is not available (Talk) to last revision by Dark Byte)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' getMemoryViewForm() ''':''' [[Form]]
 
'''function''' getMemoryViewForm() ''':''' [[Form]]
  
Line 5: Line 6:
 
but this will only find the original/base.
 
but this will only find the original/base.
  
===Function Parameters===
+
{{LuaFunctionParametersNone}}
<none>
 
  
 
== Examples ==
 
== Examples ==
 +
-- see MemoryBrowserFormUnit in CE source
 
  local frm = getMemoryViewForm()
 
  local frm = getMemoryViewForm()
 +
local hv = frm.HexadecimalView
 +
--
 +
-- see hexviewunit in CE source
 +
--  TDisplayType = (dtByte, dtByteDec, dtWord, dtWordDec, dtDword, dtDwordDec, dtQword, dtQwordDec, dtSingle, dtDouble);
 +
hv.address = 0x540000
 +
hv.DisplayType = 4 -- dtDword
  
== See also ==
+
 
* [[Lua]]
+
{{LuaSeeAlso}}
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[getForm]]
+
* [[Lua:getForm|getForm]]
* [[getFormCount]]
+
* [[Lua:getFormCount|getFormCount]]
* [[getMainForm]]
+
* [[Lua:getMainForm|getMainForm]]
* [[getSettingsForm]]
+
* [[Lua:getSettingsForm|getSettingsForm]]
* [[getLuaEngine]]
+
* [[Lua:getLuaEngine|getLuaEngine]]
* [[registerFormAddNotification]]
+
* [[Lua:registerFormAddNotification|registerFormAddNotification]]
  
 
=== Related Classes ===
 
=== Related Classes ===
* [[Form]]
+
* [[Lua:Class:Form|Form]]
* [[Component]]
+
* [[Lua:Class:Component|Component]]
* [[Control]]
+
* [[Lua:Class:Control|Control]]
* [[WinControl]]
+
* [[Lua:Class:WinControl|WinControl]]
* [[Application]]
+
* [[Lua:Class:Application|Application]]
* [[Object]]
+
* [[Lua:Class:Object|Object]]

Revision as of 19:07, 18 March 2019

function getMemoryViewForm() : Form

Returns the main memory view Form class object which can be accessed using the Form class methods and the methods of the classes it inherits from. There can be multiple memory views, but this will only find the original/base.

Function Parameters

<none>

Examples

-- see MemoryBrowserFormUnit in CE source
local frm = getMemoryViewForm()
local hv = frm.HexadecimalView
--
-- see hexviewunit in CE source
--  TDisplayType = (dtByte, dtByteDec, dtWord, dtWordDec, dtDword, dtDwordDec, dtQword, dtQwordDec, dtSingle, dtDouble);
hv.address = 0x540000
hv.DisplayType = 4 -- dtDword


See also

Related Functions

Related Classes