Recent

Author Topic: TTabControl bevel on page  (Read 237 times)

MaartenJB

  • Jr. Member
  • **
  • Posts: 63
TTabControl bevel on page
« on: January 13, 2020, 04:17:41 pm »
Hi, I have a TTabControl with a panel on it. I've set the bevels of the panel to none, but I dont seem to manage to set the bevel of the TTabControl pages. Is this possible?  (panel2 is outside the TTabControl)

I've attached a picture showing the unwanted bevels (red arrows).

zeljko

  • Hero Member
  • *****
  • Posts: 1095
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: TTabControl bevel on page
« Reply #1 on: January 13, 2020, 06:36:21 pm »
Only if widgetset supports removing bevel. Tabs are painted by widgetset.

wp

  • Hero Member
  • *****
  • Posts: 6646
Re: TTabControl bevel on page
« Reply #2 on: January 13, 2020, 07:03:59 pm »
Don't experiment with colors of themed controls. I see this only when I modify the color of the form. What do you want to achieve?
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

MaartenJB

  • Jr. Member
  • **
  • Posts: 63
Re: TTabControl bevel on page
« Reply #3 on: January 13, 2020, 07:14:52 pm »
The colours are only to visualise. I want my application to look more slick and therefore want to remove unnecessary bevels and borders.