Posted: Thu Mar 30, 2023 11:20 pm Post subject: Highlight memory value in memory view bottom pane
Hey guys,
Is there a way to highlight one of the values in the bottom half of the memory view pane. I don't know if its possible to create a lua script that when a user right clicks on the one of the values a "Highlight this value" comes up or something similar.
Joined: 09 May 2003 Posts: 25294 Location: The netherlands
Posted: Fri Mar 31, 2023 3:59 am Post subject:
it's possible, but will cause a bit of a slowdown(cpu usage)
example:
Code:
mvf=getMemoryViewForm()
hv=mvf.HexadecimalView
hv.OnValueRender=function(sender, address, text)
if address>0x00400500 and address<0x00400508 then
sender.Osb.Canvas.Font.Color=clRed
sender.Osb.Canvas.Brush.Color=clGreen
--return 'RE'
end
return text
end
this will make the bytes between 00400500 and 00400508 red with a green background _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum