Hello everyone,
When trying to convert an app to DarkMode on Windows, I encounter an anomaly with a TPageControl. It seems to be a bug:
1/ Create a TPageControl on a form.
2/ Create several TTabSheet
3/ Switch to Dark mode (use uDarkStyleParams, uWin32WidgetSetDark, uDarkStyleSchemes, uMetaDarkStyle and create a procedure to activate Dark mode [here it is SetDarkStyle])
4/ By compiling at this time, everything should be normal: Dark mode as expected.
5/ On the other hand, if you switch to vertical mode (TabPosition:=tpLeft), then the DarkMode aspect disappears at the level of the TabSheet rows.
(see attached démo and screenshot)
Am I missing something?