德尔福2010图像在Tbutton衰落/闪烁 [英] Delphi 2010 image on Tbutton fading/blinking

查看:110
本文介绍了德尔福2010图像在Tbutton衰落/闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我设置一个Button的imageindex和images属性(从imagelist组件/ pngs),启动程序并单击按钮,图像缓慢闪烁/淡入淡出。如何防止这个和什么似乎是问题?

When I set the imageindex and images property of a Button (from a imagelist component/pngs), start the program and click the button, the image is blinking slowly/ fading in and out. How to prevent this and what seems to be the problem?

推荐答案

它似乎是一个Tbutton的doubleBuffered属性。当设置为false时,图像闪烁,设置为true时它正在工作。这种情况发生在Win 7上,启用了航空。

It appears to be a doubleBuffered property of a Tbutton. When set to false, the image blinks, when set to true it's working. This occurs on Win 7 with aero enabled.

这篇关于德尔福2010图像在Tbutton衰落/闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆