digao-dalpiaz / Dam

Delphi and Lazarus Message Dialogs with Formatted Text
MIT License
137 stars 39 forks source link

Dam message background color does not follows style. #29

Closed Rik69 closed 3 years ago

Rik69 commented 3 years ago

Hi, Thank you for those super great components. I noticed that the bkcolor of the message box does not follow style color when a style is applied. I tried to force it by editing DAM dialog source, but it does not change anything. In the following picturem message background should be white.

Erik

2021-03-20_101747

digao-dalpiaz commented 3 years ago

Hello @Rik69 ,

I'm testing here and it seems to be working with custom theme:

custom_theme

Could you please tell me what specific theme name you are using?

Thanks

digao-dalpiaz commented 3 years ago

Please, update to the new released version (4.13). Important: DzHTMLText component has been updated too.

digao-dalpiaz commented 3 years ago

Hello @Rik69 ,

Were you able to solve the problem with the themes?

Rik69 commented 3 years ago

Hi I use DelphiStyles VCL Style (Windows 10 Office Light) You last change does not fix my problem, but If I uncheck StyleElements / seClients from the lbMsg (DamDialog), I can get a perfect dialog with with background.
Thank you Erik

digao-dalpiaz commented 3 years ago

Hello @Rik69 ,

OK, I see. But it is strange, because the application should work with customized themes without needing this change in DamDialog.

Are you using Dam in a DLL module or BPL ? I mean, isolated from Application thread ?