Ian Branch 127 Posted October 21, 2022 Hi Team, I have used a TStaticText but the Font|Colour property doesn't do anything. 😞 Is there a fix for this?? If not, why is the property there??  Ian Share this post Link to post
PeterBelow 238 Posted October 21, 2022 6 hours ago, Ian Branch said: Hi Team, I have used a TStaticText but the Font|Colour property doesn't do anything. 😞 Is there a fix for this?? If not, why is the property there??  Ian Deselect seFont in the StyleElements property. Share this post Link to post
Ian Branch 127 Posted October 21, 2022 Hi Peter, It wasn't set. The color doesn't show at design time either. 😞 Ian Share this post Link to post
Clément 148 Posted October 21, 2022 (edited) Do you have Transparent property set to true? if it is change it to false Edited October 21, 2022 by Clément Share this post Link to post
Ian Branch 127 Posted October 21, 2022 It was on. I turned it off and the font color shows at design time but not at run time. Share this post Link to post
Ian Branch 127 Posted October 21, 2022 I created a new form with nothing but a TStaticText on it. I set the VCL Style to Windows 11 Polar Light. With StyleElements seFont & seClient off, and transparent off, I get the green text but at run time the text background is the standard windows background. If I turn Transparent on the color disappears at design & run time. If I turn seClient on, the color stays at design time but disappears at run time. If I leave seClient off and turn seFont on, the color stays at design and run time but I get the standard windows background. I changed to one of the standard VCL Styles and get the same results. 😞 Perhaps a bug with TStaticText and VCL Styles?? Oh well. Back to TLabel and flickering... 😞  Share this post Link to post
FPiette 383 Posted October 22, 2022 Look at this report : https://quality.embarcadero.com/browse/RSP-33766 This is probably a similar issue. You should create a new report with the issue you see. Â Share this post Link to post