View previous topic :: View next topic |
Author |
Message |
dexter3 Newbie cheater
Reputation: 0
Joined: 19 Jul 2018 Posts: 10
|
Posted: Tue Jul 31, 2018 11:03 pm Post subject: Another Form Showing Problem |
|
|
Hi guys! Thanks for the help before. I've got a quick question for you all, since I ran into another problem with forms.
Make a super simple form in a script and show it:
Code: | local frmExample = createForm(false)
frmExample.show() |
Run Cheat Engine. Are you able to drag the main CE form over the frmExample? Or does frmExample stay above (in the foreground) the main CE form no matter what? Because even with this simple code, my form will stay in front of the main CE form no matter what I do. That means that if the form is bigger I can't click on the main CE form and use it... it completely covers whatever size it is.
All the builtin forms work fine for me. Am I stupid and is there just an option for this? I've looked forever and I can't find it.
This only happens if it's a script in the autorun directory (and the directory is completely empty of any other scripts). Running it in directly Cheat Engine itself works.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Wed Aug 01, 2018 12:25 am Post subject: |
|
|
try using a timer with an interval of 1 millisecond in which it calls frmExample.show() and fhen stops the timer
it's also possible you have some window hooks installed on your system that mess up some things. (translation tools, tools for bad eyesight, etc...)
_________________
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 |
|
Back to top |
|
 |
dexter3 Newbie cheater
Reputation: 0
Joined: 19 Jul 2018 Posts: 10
|
Posted: Wed Aug 01, 2018 12:53 am Post subject: |
|
|
Haha, funnily enough, I am already using this to deal with the other problem I had (thanks to ParkourPenguin). It doesn't seem to help with this though.
Maybe having a 4k screen has something to do with it then
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Wed Aug 01, 2018 2:12 am Post subject: |
|
|
nah, I also have this with it in autorun
createForm'ed forms apparently stay on top of the window that has focus at the time it's shown, and apparently PopupMode is not exposed to lua
what you can do instead is create the form using the form designer and then load that form ( createFormFromFile )
_________________
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 |
|
Back to top |
|
 |
dexter3 Newbie cheater
Reputation: 0
Joined: 19 Jul 2018 Posts: 10
|
Posted: Wed Aug 01, 2018 2:43 am Post subject: |
|
|
Cool, that works. Thanks!!
|
|
Back to top |
|
 |
|