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 


Whats all cheat engine forms?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
noobes
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 89

PostPosted: Fri Dec 28, 2018 6:36 am    Post subject: Whats all cheat engine forms? Reply with quote

I know that Cheat Engine has MainForm as main form that popup with his panels.
I need all Forms from Cheat Engine , can someone give?
And btw I ned too the panels name, checkboxes...
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 155

Joined: 06 Jul 2014
Posts: 4765

PostPosted: Fri Dec 28, 2018 9:32 am    Post subject: Reply with quote

Use getFormCount() and getForm(index) to loop over all forums. There are a few functions that get a particular form (see Help -> Lua documentation).

Read GitHub to figure out names of components. You can loop over them too and figure it out, but I prefer GitHub.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
noobes
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 89

PostPosted: Fri Dec 28, 2018 10:29 am    Post subject: Reply with quote

i don't understand
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 155

Joined: 06 Jul 2014
Posts: 4765

PostPosted: Fri Dec 28, 2018 10:59 am    Post subject: Reply with quote

Code:
for i = 0, getFormCount() - 1 do
  local f = getForm(i)
  print(f.Caption)
end

As for GitHub, look at the .lfm files to see names of components. If you're having trouble identifying which component is the right cone, cross reference events (e.g. OnClick) with their implementation in the respective .pas file.

You could also loop over components in the same way:
Code:
for i = 0, MainForm.ComponentCount - 1 do
  print(MainForm.Component[i].Name)
end

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
noobes
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 89

PostPosted: Fri Dec 28, 2018 1:17 pm    Post subject: Reply with quote

TThanks
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