Theming controls

Add-in Express™ Support Service
That's what is more important than anything else

Theming controls
 
Mark Williams




Posts: 21
Joined: 2020-06-08
Trying to theme controls on taskpanes.

All controls have their style elements disabled and ParentColor and ParentFont values set to true.

If I set UseOfficeThemeForBackground to true, the color of the pane matches the office theme, but the controls on the pane do not update to match the background.

If I disable UseOfficeThemeForBackground and manually change the pane eg

Color:=clBlack;
Font.Color:=clWhite;

My controls' colours update as expected.

Does anyone know why this isn't happening using UseOfficeThemeForBackground?
Posted 28 Aug, 2020 05:07:07 Top
Dmitry Kostochko


Add-in Express team


Posts: 2865
Joined: 2004-04-05
Hi Mark,

What controls do you use on your pane? We have just tested standard controls and they work as expected. Could you please send your project (or a small demo project that reproduces the issue) to us for testing?
Posted 31 Aug, 2020 10:54:34 Top