Difference between revisions of "Lua:getMemoryViewForm"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
(Added example of setting address of the hex view)
Line 10: Line 10:
 
== Examples ==
 
== Examples ==
 
  local frm = getMemoryViewForm()
 
  local frm = getMemoryViewForm()
 +
getMemoryViewForm().ComponentByName['HexadecimalView'].address = 0x540000
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}

Revision as of 02:09, 17 June 2018

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

local frm = getMemoryViewForm()
getMemoryViewForm().ComponentByName['HexadecimalView'].address = 0x540000

See also

Related Functions

Related Classes