问题描述
我用来创建一个完整的透明表单,但是png和32位图像不会混合到表单,图像没有正确显示其透明度。我得到的概念是,但我无法按下按钮。除了图像之外,所有的外观都是看不见的。我的编译器是delphi7和D2009
i use to create a full transparent form, but the png and the 32bit image will not blend to the form and images is not properly displayed its trnsparency. i get the concept here but i cannot put button on it. all abject are invisible except the image backgound. by the way my compiler is delphi7 and D2009
推荐答案
看来,Andreas Hausladen偶然发现了类似的问题,并已经实现了一个解决方案:他重写了JVCL库中的TJvTransparentForm。
Seems that Andreas Hausladen stumbled upon a similar problem and has already implemented a solution: he rewrote TJvTransparentForm in the JVCL library.
即使您不直接使用该组件,您可以通过研究源代码获得一些洞察力。
Even if you are not going to use that component directly you may gain some insight by studying the source.
是安德烈亚斯文章的链接。
Here is the link to Andreas' article.
这篇关于如何使形式完全透明的32位alpha?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!