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 


Create class dand register class

 
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: 1668

PostPosted: Mon Aug 22, 2022 8:46 pm    Post subject: Create class dand register class Reply with quote

Is createClass() work in CE Lua ?. Any example?.
Say, I want create a new class and component for 'TButtonPanel'.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 23, 2022 1:17 am    Post subject: Reply with quote

it works, but normally you'd want createComponentClass as TButtonPanel is a component that fits on a form.

Problem is, TButtonPanel is not registered as a class so it's not available

_________________
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: 1668

PostPosted: Tue Aug 23, 2022 4:41 am    Post subject: Reply with quote

Dark Byte wrote:
...Problem is, TButtonPanel is not registered as a class so it's not available


Yes, I have tried add TButtonPanel using createComponentClass procedure but that return error because TButtonPanel not registered, except I modify mainform.pas or another one pas file in CE source. Anyway, thanks DB for your information.

_________________
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: 1535

PostPosted: Wed Aug 24, 2022 12:40 am    Post subject: Reply with quote

Probably @DB defines (Improvements) according to necessity or demand density. Wink

If so; The "color check box" should be a little higher on the wishlist.

Maybe a list of visually advanced button classes can also be opened. (Probably when there are more requests.) Smile

_________________
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
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