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 


Clean Design

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

Joined: 02 Jul 2017
Posts: 3

PostPosted: Sun Jul 02, 2017 2:57 am    Post subject: Clean Design Reply with quote

So im making a clean design for my trainer
but i only have 1 problem and that is dragLib.Lua

i did some stuff but then the program wasnt still draggable
or wont open

i wanted to make the same design like this trainer

his trainer was draggable etc but mine isnt

Heres the DragLib.Lua



86ef7cb67cf1e7971c50232f0ce917bc.png
 Description:
Pic of my trainer
 Filesize:  13.78 KB
 Viewed:  3647 Time(s)

86ef7cb67cf1e7971c50232f0ce917bc.png



652643f0f52f3bf5cbbcff8ce06ba52a.png
 Description:
Pic of his trainer
 Filesize:  31.19 KB
 Viewed:  3647 Time(s)

652643f0f52f3bf5cbbcff8ce06ba52a.png



dragLib.lua
 Description:
DragLib.lua

Download
 Filename:  dragLib.lua
 Filesize:  805 Bytes
 Downloaded:  294 Time(s)

Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Sun Jul 02, 2017 6:41 am    Post subject: Re: Clean Design Reply with quote

It is quite easy to make the form move when clicking inside it.
Code:
form = createForm()

form.OnMouseDown = function(sender) sender.dragNow() end

_________________
...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun Jul 02, 2017 6:51 am    Post subject: Reply with quote

if the background is a panel or image, then also give those a OnMouseDown event and execute function(sender) form.dragNow() end
_________________
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
KappaFX420
How do I cheat?
Reputation: 0

Joined: 02 Jul 2017
Posts: 3

PostPosted: Tue Jul 04, 2017 11:59 am    Post subject: Reply with quote

Dark Byte wrote:
if the background is a panel or image, then also give those a OnMouseDown event and execute function(sender) form.dragNow() end


thanks man =D
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 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