TcxLabel has a black background on a Blurred Glass Form in Windows 10.
I have attached an sample project that has code for three different label components. TLabel, TcxLabel, and TAeroLabel. A compiler directive is used to include the TAeroLabel .
The PNG screen shot inside the ZIP file shows all three components and how they render over a black background and white background. The only component that is correct is the TAeroLabel. As you can see, the TLabel only shows up when over a darker area and disappears when over a white background. TcxLabel has a solid black background
Is there something that can be done to the TcxLabel to allow it to work so that I don't need the additional component?
Note: The zip file contains a compiled version with the TAeroLabel included should you need to see it running. The source code has the link to the GitHub repository for the source code.
Hello Bill,
I'm unable to recompile your project, because the following units are missing on my side:
Would you please clarify what actions I need to perform on my side to recompile the project?
I meant to comment out the {$Define UseNTSAeroUI} line.
Change that line to {.$Define UseNTSAeroUI} and it will compile. The included .EXE file was compiled with the UI,Aero.Labels so that you could see what it looks like without having to grab a copy of those files.
Hello Bill,
Thank you for the clarification. I did not replicate the same behavior as demonstrated with your EXE. However, I see that our TcxLabel works differently than the standard TLabel.
I will forward this thread to our developers for the research.
Hello Bill,
Would you mind if we publish this ticket, so that other customers could find this thread? We can protect the privacy of your data by removing your attachment.
Just let us know if it has to be removed.
I do not mind at all. There is no data in the attachment that needs protection so you are free to leave it if you choose. Thanks for the fix!
Thanks! Published.