digao-dalpiaz / Dam

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

Also, the appearance of the buttons does not match the appearance of the buttons from the skin #37

Closed digao-dalpiaz closed 9 months ago

digao-dalpiaz commented 1 year ago

Also, the appearance of the buttons does not match the appearance of the buttons from the skin

Безымянный1 Безымянный2

Originally posted by @churchill123 in https://github.com/digao-dalpiaz/Dam/discussions/35

digao-dalpiaz commented 1 year ago

Hello @churchill123,

Here in my tests, using Delphi themes, the dialog looks fine: image

Are you using Delphi themes or some other 3rd Theme Component ?

churchill123 commented 1 year ago

Здравствуйте, Rodrigo.

Вы писали 29 июля 2023 г., 21:57:29: I use devExpress Skin Library  

Hello @churchill123, Here in my tests, using Delphi themes, the dialog looks fine: Are you using Delphi themes or some other 3rd Theme Component ? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

--  С уважением,  Churchillphotos00002                         @.***

-- Это сообщение было проверено антивирусным ПО Avast на наличие вирусов. www.avast.com

digao-dalpiaz commented 1 year ago

OK, I don't have those components. You could run a test there in your environment:

My component checks the background color of the text area based on this code: if TStyleManager.IsCustomStyleActive and (seClient in StyleElements) and not (csDesigning in ComponentState) then C.Brush.Color := TStyleManager.ActiveStyle.GetStyleColor(TStyleColor.scWindow)

Please, check if TStyleManager.IsCustomStyleActive is True in Runtime, and what color you get in TStyleManager.ActiveStyle.GetStyleColor(TStyleColor.scWindow)

Thanks

digao-dalpiaz commented 9 months ago

Fixed this problem! Now the text area is transparent. It will be available in the next version.