 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
GenericDM How do I cheat?
Reputation: 0
Joined: 01 Apr 2018 Posts: 8
|
Posted: Sun Apr 01, 2018 5:43 pm Post subject: Hiding the scanner |
|
|
I've got everything I need in my table and I wanna have CE in the corner of my monitor, but whenever I put it in the corner the scanning part takes up the entire thing.
I've seen some other table do it but I'm not sure how
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Apr 01, 2018 5:49 pm Post subject: |
|
|
Code: | function disableCompactMode()
control_setVisible(wincontrol_getControl(MainForm, 0), true)
control_setVisible(wincontrol_getControl(MainForm, 2), true)
control_setVisible(wincontrol_getControl(MainForm, 3), true)
end
function enableCompactMode()
control_setVisible(wincontrol_getControl(MainForm, 0), false)
-- control_setVisible(wincontrol_getControl(MainForm, 2), false) -- Hides sig
control_setVisible(wincontrol_getControl(MainForm, 3), false)
end
function disableHeaderSorting()
local addressList = getAddressList()
local addressListHeader = component_getComponent(addressList, 1)
setMethodProperty(addressListHeader, 'OnSectionClick', nil)
end
function disableDragDrop()
local addressList = getAddressList()
local addressListTreeview = component_getComponent(addressList, 0)
setMethodProperty(addressListTreeview, 'OnDragOver', nil)
setMethodProperty(addressListTreeview, 'OnDragDrop', nil)
setMethodProperty(addressListTreeview, 'OnEndDrag', nil)
end |
Try the "enableCompactMode" one, but I also use the "disableHeaderSorting" and "disableDragDrop" ones as well and the "disableCompactMode" is just useful if you find you what to look for something later on.
_________________
|
|
Back to top |
|
 |
GenericDM How do I cheat?
Reputation: 0
Joined: 01 Apr 2018 Posts: 8
|
Posted: Sun Apr 01, 2018 6:03 pm Post subject: |
|
|
Is there a way to re-enable the sorting and drag'n'drop?
drag'n'drop is useful when im making the table but not when im using it
sorting is still a pain in the rear when I accidentally click on it so idc about that
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Apr 01, 2018 6:46 pm Post subject: |
|
|
Well I was going to say, you'd need to store the functions then restore then as needed; but when I tried it I only got errors.
Code: | local OnDragOver = nil
local OnDragDrop = nil
local OnEndDrag = nil
function disableDragDrop1()
local addressList = getAddressList()
local addressListTreeview = component_getComponent(addressList, 0)
OnDragOver = getMethodProperty(addressListTreeview, 'OnDragOver')
OnDragDrop = getMethodProperty(addressListTreeview, 'OnDragDrop')
OnEndDrag = getMethodProperty(addressListTreeview, 'OnEndDrag')
setMethodProperty(addressListTreeview, 'OnDragOver', nil)
setMethodProperty(addressListTreeview, 'OnDragDrop', nil)
setMethodProperty(addressListTreeview, 'OnEndDrag', nil)
end
function disableDragDrop2()
local addressList = getAddressList()
local addressListTreeview = component_getComponent(addressList, 0)
OnDragOver = addressListTreeview.OnDragOver
OnDragDrop = addressListTreeview.OnDragDrop
OnEndDrag = addressListTreeview.OnEndDrag
setMethodProperty(addressListTreeview, 'OnDragOver', nil)
setMethodProperty(addressListTreeview, 'OnDragDrop', nil)
setMethodProperty(addressListTreeview, 'OnEndDrag', nil)
end
function enableDragDrop()
local addressList = getAddressList()
local addressListTreeview = component_getComponent(addressList, 0)
setMethodProperty(addressListTreeview, 'OnDragOver', OnDragOver)
setMethodProperty(addressListTreeview, 'OnDragDrop', OnDragDrop)
setMethodProperty(addressListTreeview, 'OnEndDrag', OnEndDrag)
end |
Code: | Error:This type of method:TDragOverEvent is not yet supported
Script Error
Error:This type of method:TDragDropEvent is not yet supported
Script Error
Error:This type of method:TEndDragEvent is not yet supported
Script Error |
So as far as I know you would need to restart CE. But I was mistaken I use the "disableCompactMode" and "disableHeaderSorting", but I do leave drag and drop enabled. It's kinda helpful. But resorting the table after clicking the header sucks.
_________________
|
|
Back to top |
|
 |
|
|
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
|
|