TGradButton

From Lazarus wiki
Revision as of 21:04, 8 October 2008 by EugenE (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en)

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

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