Difference between revisions of "TGradButton"

From Lazarus wiki
Jump to navigationJump to search
Line 51: Line 51:
 
You can also use the current SVN-Version of TGradButton
 
You can also use the current SVN-Version of TGradButton
 
   svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/ gradcontrols
 
   svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/ gradcontrols
 +
 +
[[Category:Components]]

Revision as of 07:48, 4 October 2010

Template:Translate

About

Part of GradControls. TGradButton is a TCustomControl descendant that paints a cool looking gradient. You can choose the BaseColor, NormalBlendColor and the OverBlendColor. Or which Borders should be painted. This component is a good replacement for the TButton on Windows, cause with TGradButton you can change the Buttons-Color.

Current Version: 1.4

Features

  • Cool-Looking Gradient Background
  • Glyph-Support
  • Rotated Text+Glyph (only 90° to Left or Right)
  • Vertical and Horizontal Background
  • GlyphPositions (Over/Under/Left to/Right to the Caption )

Autor

Eugen Bolz

History

Version 1.4:

  • [+] Caching Background, Rotated Text+Glyphs
  • [+] Using TButtonGlyph
  • [*] Using TRotateDirection instead of TRotatedText
  • [*] using TButtonLayout to set the Glyph Position
  • [~] Linux-Bugs

Version 1.3:

  • [+] ClickColor
  • [+] NotEnabledColor
  • [+] Text Alignment
  • [+] GlyphPosition

Version 1.2:

  • [+] Glyph-Support
  • [+] Rotated Text+Glyph

Version 1.1:

  • [i] First Release

Thanks to

The Idea of creating this Button based on Screenshots of LH_Freak's Projekt "M.U.H Messenger"

Screenshot

TGradbutton demo.jpg

Download

The Demo is included!

Download from Lazarusforum

Download from SVN

You can also use the current SVN-Version of TGradButton

 svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/ gradcontrols