View previous topic :: View next topic |
Author |
Message |
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Thu Jul 21, 2022 3:20 pm Post subject: PageControl Color |
|
|
sorry for my bad English,
is there a way to change PageControl Color?
(by RGB or by images)
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Jul 21, 2022 3:42 pm Post subject: |
|
|
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 |
|
|
kucingkembar Advanced Cheater Reputation: 0
Joined: 08 Oct 2020 Posts: 71
|
Posted: Thu Jul 21, 2022 10:29 pm Post subject: |
|
|
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 |
|
|
|