玻璃上的Delphi按钮 - 最佳寻找第三方按钮组件 [英] Delphi button on Glass - Best Looking Third Party Button Component

查看:563
本文介绍了玻璃上的Delphi按钮 - 最佳寻找第三方按钮组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个专门用于运行Vista和Windows 7的Aero Glass的Delphi按钮,具有以下属性:


  1. 完全自绘的TCustomControl后代。


  2. 看起来不错[以一种正常按钮的形式呈现给用户,没有毛刺]具有航空组合(DWM)的玻璃窗格,按钮周围没有白色或黑色环,并且没有问题被Aero构图弄乱。 (这将敲除任何未写入玻璃的按钮。)


  3. TButton / TBitButton的常用功能,包括连接到TActions,支持字形(位图/图片)等。


可选,很高兴有功能:


  1. 透明度支持(可选,如果它可以是不透明的,但是在玻璃上画得很好)。


解决方案

我可以从的替代TPngBitBtn也将符合资格。


I am looking for a Delphi button designed to use with Aero Glass running Vista and Windows 7, with the following properties:

  1. completely self-drawn TCustomControl descendant.

  2. looks good [ renders in a way that looks to the user like a normal button, with no glitches ] over a Glass pane with Aero composition (DWM), no white or black ring around the button, and no problems with the caption getting messed up by Aero composition. (This will knock out any button that has not been written to be glass aware.)

  3. The usual features of a TButton/TBitButton, including link to TActions, support for a glyph (bitmap/picture), etc.

Optional, nice to have features:

  1. Transparency support (optional, it would be nice if it could be opaque but draw cleanly over glass).

解决方案

I can throw TRzButton from Raize Components into the ring. The form should have DoubleBuffered set to true to make the labels visible, but the button must have DoubleBuffered switched off to remove the unwanted frame.

You can also use TRzBitBtn if a glyph is required. As an alternative TPngBitBtn from PngComponents will also qualify.

这篇关于玻璃上的Delphi按钮 - 最佳寻找第三方按钮组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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