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 


Trainer GUI with tabs

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

Joined: 18 Dec 2011
Posts: 73

PostPosted: Fri Jul 13, 2012 6:46 pm    Post subject: Trainer GUI with tabs Reply with quote

I'm trying to get started with trainer creation and set out to design the GUI first. Now this is supposed to be a pretty expansive trainer and i'm thinking about multiple 'pages' for different things to do. I'm not yet clear on everything the form designer has to offer.

I've attached a pic for an example how the layout should look later on. Is there a way to create tabs like that at the bottom or top to switch through various pages of functionality? I'd like all of the trainer's stuff in one window without it becoming fullscreen-sized.



FormTabs.png
 Description:
A quick Paint job for a window form with tabs.
 Filesize:  883 Bytes
 Viewed:  4083 Time(s)

FormTabs.png


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

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

PostPosted: Fri Jul 13, 2012 7:35 pm    Post subject: Reply with quote

The pagecontrol object isn't exposed to lua so a normal style based tab component isn't available

But what you could do is simulate the tab behaviour
E.g, instead of a tabrow, use buttons or an image, and when clicked you hide the current panel and make a different one visible at the same spot, and while designing just put all panels next to each other and when executed programatically set the positions with lua

You could even just use one picture and render it all manually using the canvas object, but that might be a bit overkill

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