Difference between revisions of "Lua:getMemoryViewForm"

From Cheat Engine
Jump to navigation Jump to search
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>')
m (Reverted edits by This content is not available (Talk) to last revision by Dark Byte)
Line 1: Line 1:
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
+
[[Category:Lua]]
 +
'''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.
 +
 
 +
{{LuaFunctionParametersNone}}
 +
 
 +
== 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
 +
 
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 +
* [[Lua:getForm|getForm]]
 +
* [[Lua:getFormCount|getFormCount]]
 +
* [[Lua:getMainForm|getMainForm]]
 +
* [[Lua:getSettingsForm|getSettingsForm]]
 +
* [[Lua:getLuaEngine|getLuaEngine]]
 +
* [[Lua:registerFormAddNotification|registerFormAddNotification]]
 +
 
 +
=== Related Classes ===
 +
* [[Lua:Class:Form|Form]]
 +
* [[Lua:Class:Component|Component]]
 +
* [[Lua:Class:Control|Control]]
 +
* [[Lua:Class:WinControl|WinControl]]
 +
* [[Lua:Class:Application|Application]]
 +
* [[Lua:Class:Object|Object]]

Revision as of 15: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