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 


PageControl Color

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

Joined: 08 Oct 2020
Posts: 71

PostPosted: Thu Jul 21, 2022 3:20 pm    Post subject: PageControl Color Reply with quote

sorry for my bad English,
is there a way to change PageControl Color?
(by RGB or by images)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Jul 21, 2022 3:42 pm    Post subject: Reply with quote

Put the pagecontrol on a panel, and set the panel color to what you like. (align to alClient for best result (and set panel bevelOuter to bvNone)

To change the inside of the pagecontrol, place a panel in there and color it the way you like.

If you mean change the tab color, not really, unless you're running in dark mode

_________________
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
kucingkembar
Advanced Cheater
Reputation: 0

Joined: 08 Oct 2020
Posts: 71

PostPosted: Thu Jul 21, 2022 10:29 pm    Post subject: Reply with quote

thank you DarkByte for the reply
this is my code
Code:
if TheForm then
   TheForm.destroy()
end

TheForm = createForm()
TheForm.color = 0x0000FF --red
TheForm.Height = 300
TheForm.width = 300

ThePage = CreatePageControl(TheForm)
ThePage.Height = 200
ThePage.width = 200
ThePage.Top = 50
ThePage.left = 50

Tab1 = ThePage.addTab(ThePage)
Panel1 = CreatePanel(Tab1)
Panel1.Height = ThePage.Height
Panel1.width = ThePage.width
Panel1.color = 0xff0000 --blue
Panel1.bevelOuter = "bvNone"


my problem is, how I hide that white line outer of the panel,
sorry if I stupid
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