我一直试图在Delphi 2010中使用Aero来寻找美观的设计。人们看到的一个显而易见的用途是玻璃框架被扩展为在屏幕底部包括OK / Cancel按钮。我注意到虽然在Delphi 2010中看起来不太正确-每个按钮周围都有白色边框。
I have been trying to find a good-looking design using Aero in Delphi 2010. One of the obvious uses one sees, is where the glass frame is extended to include the OK/Cancel buttons at the bottom of the screen. I notice though that this doesn't look quite right in Delphi 2010 - there is a white border all around each button.
此图显示了问题:前3个按钮来自我的应用程序,底部两个来自Paint.NET的图层属性对话框。
This image shows the problem: the top 3 buttons are from my app, the bottom two were taken from Paint.NET's Layer Properties dialog.
我尝试了DoubleBuffered的各种组合以及首先将控件放在其他控件上的几种组合,但是问题仍然存在。有想法吗?
I tried various combinations of DoubleBuffered and a few combinations of placing the controls on other controls first, but the problem remains. Any ideas?
推荐答案如果没有人有一个好的解决方案,请使用 TBitBtn 和 DoubleBuffered = false 。
If no one has a clean solution, as a workaround use TBitBtn with DoubleBuffered = false.
更多推荐
Delphi按钮在Aero玻璃上显示白色边框
发布评论