设置标签和StaticText颜色属性问题-Delphi 2009 [英] Setting Label and StaticText Color property problem - Delphi 2009
本文介绍了设置标签和StaticText颜色属性问题-Delphi 2009的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我设置标签的颜色时,例如值 clRed 上的红色仅闪烁一会儿.color属性仍然具有clRed值,但实际上它具有默认的 clBtnFace 颜色.
When I set the Label's color e.g. on value clRed, the red on it only blink for a while. The color property still has clRed value, but in fact it has default clBtnFace color.
屏幕截图可以更好地说明问题.
Screenshot discribes the problem better.
推荐答案
将透明"设置为False.:-)
Set Transparent to False. :-)
假设它是TLabel,如屏幕截图所示.
assuming it's a TLabel, as shown in the screenshot.
这篇关于设置标签和StaticText颜色属性问题-Delphi 2009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文