I'am useing Delphi 10.4.2, with the most current vcl-style-utils - and the change in "vcl.Styles.uxThemes.pas" in the function
"UxTheme_Button" breaks the Delphi IDE and the formdesigner. f.e. TBitBtn looses its fillcolor and border.
and the alignmenu of the Object Inspektor - look like this:
LBtnBmp.Transparent := True;
seems to be the issue - because per default the color of the bottom left pixel is used for transparency, if the button is a nice rounded one it works, but if the button is rectangluar this pixel belongs to the border around the button surface, which becames transparent.
And if the Button fills its area with clBtnFace.. the whole bottom will become transparent.
Can you explain me why this code was changed - to a temporary bitmap?
To use a temp bitmap there it must be a TBitmap with Alpha Channel no transparency by a single color.
Hello,
I'am useing Delphi 10.4.2, with the most current vcl-style-utils - and the change in "vcl.Styles.uxThemes.pas" in the function "UxTheme_Button" breaks the Delphi IDE and the formdesigner. f.e. TBitBtn looses its fillcolor and border.
and the alignmenu of the Object Inspektor - look like this:
LBtnBmp.Transparent := True; seems to be the issue - because per default the color of the bottom left pixel is used for transparency, if the button is a nice rounded one it works, but if the button is rectangluar this pixel belongs to the border around the button surface, which becames transparent. And if the Button fills its area with clBtnFace.. the whole bottom will become transparent.
Can you explain me why this code was changed - to a temporary bitmap? To use a temp bitmap there it must be a TBitmap with Alpha Channel no transparency by a single color.