View previous topic :: View next topic |
Author |
Message |
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Wed Jun 24, 2015 8:10 am Post subject: UDF1 Form Not Display |
|
|
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 |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Wed Jun 24, 2015 9:22 am Post subject: |
|
|
try
UDF1.show();
UDF1.centerScreen();
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Wed Jun 24, 2015 9:27 am Post subject: |
|
|
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 |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Wed Jun 24, 2015 6:55 pm Post subject: |
|
|
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 |
|
|
|