Recent

Author Topic: XP theming not working properly  (Read 557 times)

MISV

  • Hero Member
  • *****
  • Posts: 693
XP theming not working properly
« on: February 17, 2020, 11:15:19 pm »
I have a Delphi application. Here XP theming works on Win10.

Loading form/code into Lazarus and enabling XP theming in project options it only partially works.

Some parts *get* themed.

But if I have this:
TPageControl
TTabSheet
TPanel
TPanel <- Not XP themed

However

TPageControl
TTabSheet
TScrollBox <- XP themed
TPanel <- Not XP themed


Now - both of above even have further nesting about TPageControl, so the above is not a complete list.

What I am wondering about is if I need to set some properties differently on Lazarus for XP theming to work properly (would make sense)

i.e. I have ParentColor enabled and Color set to clBtnFace .... But I do not want the panel to use clBtnFace, I want it themed.

Can anyone point me in the right direction? :)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 929
  • Former Delphi 1-7, 10.2 User
Re: XP theming not working properly
« Reply #1 on: February 18, 2020, 08:14:39 am »
You're in the Installation sub-forum. Directions to the Windows forum Lazarus » Forum » Programming » Widgetset » Win32/64  O:-)
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

MISV

  • Hero Member
  • *****
  • Posts: 693
Re: XP theming not working properly
« Reply #2 on: February 18, 2020, 11:27:28 am »
« Last Edit: February 18, 2020, 11:29:13 am by MISV »

 

TinyPortal © 2005-2018