Recent

Author Topic: [SOLVED]TTabControl weird background in Windows Server 2008  (Read 1854 times)

eolandro

  • New Member
  • *
  • Posts: 14
[SOLVED]TTabControl weird background in Windows Server 2008
« on: January 08, 2019, 08:39:55 am »
Hi.
I'm working with TtabControl on windows server 2008 and always have a weird blue background color.But on windows XP,7,10, debian 9 and ubuntu 18  does not have that color.

What's wrong?

PD windows themes are disabled on windows server i guess...
« Last Edit: January 08, 2019, 07:04:14 pm by eolandro »

balazsszekely

  • Guest
Re: TTabControl weird background in Windows Server 2008
« Reply #1 on: January 08, 2019, 09:00:43 am »
@eolandro
Quote
Windows themes are disabled on windows server i guess...
Yes it seems like.

Quote
What's wrong?
I would say nothing. It's the default theme, and there is little you can do about the color, unless you ownerdraw of course. Though I have to admint that blue is a little strange for default tab color.

eolandro

  • New Member
  • *
  • Posts: 14
Re: TTabControl weird background in Windows Server 2008
« Reply #2 on: January 08, 2019, 09:19:38 am »
There is more information. On some remote connections the background is not blue is black. And now all labels on that tab are invisible. Because you know black text on black tab....


Quote
...there is little you can do about the color...

Tell me more please.

HeavyUser

  • Sr. Member
  • ****
  • Posts: 397
Re: TTabControl weird background in Windows Server 2008
« Reply #3 on: January 08, 2019, 09:23:58 am »
Hi.
I'm working with TtabControl on windows server 2008 and always have a weird blue background color.But on windows XP,7,10, debian 9 and ubuntu 18  does not have that color.

What's wrong?

PD windows themes are disabled on windows server i guess...
a tab control is not mend to be used as a container. It should only show the tabs. Try using a page control instead or if you'd prefer not to change your control add a proper container inside it like a panel or a scroll box. The color you see is not mend to be visible.

eolandro

  • New Member
  • *
  • Posts: 14
Re: TTabControl weird background in Windows Server 2008
« Reply #4 on: January 08, 2019, 07:03:40 pm »
Ohhh works like a charm!!!
Thanks

 

TinyPortal © 2005-2018