Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


how to make a CETrainer window minimize?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
nukiz
How do I cheat?
Reputation: 0

Joined: 17 Mar 2020
Posts: 8
Location: nuclear plant

PostPosted: Tue Mar 17, 2020 10:10 am    Post subject: how to make a CETrainer window minimize? Reply with quote

ok, i know this is a stupid question, but i suck at cheat engine and this is my first time actually creating something kinda cool.

so, im stuck on a part and i cant figure out how to make the CETrainer minimize from a OnClick function. i made the trainer with an login screen with form designer and lua (i know basic lua and form shit) but i cant seem to figure out how to minimize the CETrainer window. can someone help me? Very Happy

_________________
bad ce user with no experience in coding, other than JavaScript, a little of Assembly and Lua
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Tue Mar 17, 2020 10:43 am    Post subject: Reply with quote

Does form.hide() work?
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Tue Mar 17, 2020 8:19 pm    Post subject: Reply with quote

Code:
formname.WindowsState = 'wsMinimized'


I think you need set form border style to single, none, etc except border sizeable to get it to work.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
nukiz
How do I cheat?
Reputation: 0

Joined: 17 Mar 2020
Posts: 8
Location: nuclear plant

PostPosted: Wed Mar 18, 2020 1:05 am    Post subject: Reply with quote

Corroder wrote:
Code:
formname.WindowsState = 'wsMinimized'


I think you need set form border style to single, none, etc except border sizeable to get it to work.


thank you! this worked!

_________________
bad ce user with no experience in coding, other than JavaScript, a little of Assembly and Lua
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Natasha75
How do I cheat?
Reputation: 0

Joined: 25 Jun 2022
Posts: 3

PostPosted: Wed Jun 29, 2022 3:27 am    Post subject: Reply with quote

I'm sorry to say that I do not have a solution for this problem. Because I can't replicate this behavior myself, it is hard for me to pinpoint where the fault lies. If you could send a screen shot of your desktop set up along with a short explanation of what you are trying to do and how it is not working, I would be happy to take another look at the program and see if I can find anything that might help you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites