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 is it to bring forward by code?

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

Joined: 16 Feb 2017
Posts: 1522

PostPosted: Wed Feb 20, 2019 5:44 am    Post subject: How is it to bring forward by code? Reply with quote

Hi..
The following code to create what is truth?
How can I get forward and back with a Click?

Code:
UDF1.CEPanel1. >>> bring to front=true ?
UDF1.CEPanel2. >>> send to back=false ?


Thanks in advance for your help.

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Wed Feb 20, 2019 6:17 am    Post subject: Reply with quote

Try :

Code:
function back2front_P1()
 UDF1.CEPanel1.bringToFront()
 UDF1.CEPanel2.sendToBack()
end

function back2front_P2()
 UDF1.CEPanel2.bringToFront()
 UDF1.CEPanel1.sendToBack()
end

UDF1.Show()

UDF1.CEPanel1.onClick = back2front_P2
UDF1.CEPanel2.onClick = back2front_P1

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1522

PostPosted: Wed Feb 20, 2019 8:50 am    Post subject: Reply with quote

Thanks @Corroder, this worked.
You're good for unusual codes. Smile

By the way, did you get a result? : CE-Web-Lua? or CE-YouTube-Lua?

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Wed Feb 20, 2019 6:59 pm    Post subject: Reply with quote

Quote:
By the way, did you get a result? : CE-Web-Lua? or CE-YouTube-Lua?


for some reason, I just using TOMYO Tube Player.

download CT file here :

https://mega.nz/#!DpUQSKJa!wEmVFlOHHR12W7IiRXxxEht4f9Uh_u79Ul3TcmWOa4M

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1522

PostPosted: Wed Feb 20, 2019 8:53 pm    Post subject: Reply with quote

I found a Lua language for webBrowser
but it is too long and hard to assemble.

Reduced memory is called 10kb.
But what item is matched with CE is unclear.
Panel, Image, Form etc.

https://github.com/lipp/lua-websockets

Web-socket must be created first.
and then a Navigate = Url path.
etc. etc. etc.

Perhaps you should write in VB Trainer.
In this way, all plugins are used freely. Wink
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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