Lua:getMemoryViewForm
Jump to navigation
Jump to search
Returns the main Memory View form object.
There can be multiple Memory View windows, but this function only returns the original/base Memory View form. The returned object can be accessed using the Form class methods and the methods of the classes it inherits from.
Contents
Function Parameters
This function has no parameters.
Returns
Form — The main Memory View form object.
Examples
local memoryView = getMemoryViewForm() if memoryView ~= nil then memoryView.show() memoryView.bringToFront() end
local memoryView = getMemoryViewForm()
if memoryView ~= nil then
print("Memory View caption: " .. tostring(memoryView.Caption))
print("Visible: " .. tostring(memoryView.Visible))
end
local memoryView = getMemoryViewForm()
if memoryView ~= nil and memoryView.isForegroundWindow() then
print("The main Memory View is currently focused")
end
Notes
- This function returns the original/base Memory View form.
- It does not return additional Memory View windows that may have been opened.
- The returned object can be used like a Form object.