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 


Issues. Need help.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Mon Nov 14, 2016 4:56 am    Post subject: Issues. Need help. Reply with quote

I cant seam to make this work (I placed a panel and placed 2 more panels onto that one and made them invisible. What I am trying to do is make it so when the panel with the caption "Mafia III" is clicked then make the "M3Panel" visible).

Code:

function M3SelectPanelClick(sender)
Form.Caption="Mafia III Trainer"
Form.M3Panel.Visible=true
Form.ROPanel.Visible=false
end


is there something wrong with the above?

Update: It works but it doesn't show the panel itself (maybe). I made the base panel black and all the rest white (also I added Labels). Now the issue is, when I click on the "Mafia III" Panel it shows the base panel color (black) but also displays the label so it works but also doesn't work sins the color of the panel is supposed to be white.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Nov 14, 2016 5:46 am    Post subject: Reply with quote

make sure M3Panel isn't inside the ROPanel (look at the component tree)
_________________
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
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Mon Nov 14, 2016 6:19 am    Post subject: Reply with quote

Dark Byte wrote:
make sure M3Panel isn't inside the ROPanel (look at the component tree)


I figured out what the issue was. When I changed the base panels color it changed the panels which were attached to it to the same color.
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 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