Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi button on Glass - Best Looking Third Party Button Component

Tags:

delphi

aero

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).
like image 557
Warren P Avatar asked Jul 29 '10 16:07

Warren P


1 Answers

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.

Raize Button on Glass

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

like image 91
Uwe Raabe Avatar answered Oct 15 '22 23:10

Uwe Raabe