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 


UDF1 Form Not Display

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Wed Jun 24, 2015 8:10 am    Post subject: UDF1 Form Not Display Reply with quote

Hi, guys

I made a trainer with 3 forms as TRA1 (change name for UDF1), UDF2, UDF3.

UDF2 and UDF3 will display by click a button in UDF1 Form.

All scripts has done and to hide UDF2 and UDF3, i have process in lua engine as :

UDF2.Visible = false
UDF3.Visible = false

but now UDF1 also hiding, even i have process UDF1.Visible = true (in lua engine) and enable all set visible UDF1 = true / FormShow(UDF1) in entire script. But UDF1 still not appear while start CT file.

Is it a bug or something else ?.
Does any one have solution to fix it ?

Thanks and regards
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Wed Jun 24, 2015 9:22 am    Post subject: Reply with quote

try
UDF1.show();
UDF1.centerScreen();

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Wed Jun 24, 2015 9:27 am    Post subject: Reply with quote

you say you changed the name of UDF1 to TRA1, but you keep using UDF1.
try TRA1.show()

_________________
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
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Wed Jun 24, 2015 6:55 pm    Post subject: Reply with quote

Thank DB and DaSpammer,

I mean TRA1. Sorry for typo in first post.
I have tried TRA1.Show() and everything is okay now.
It cause by WindowState = wsMinimized also (form hide, even i think i am not touch this part).

Thank so much
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