Difference between revisions of "TGradButton"

From Lazarus wiki
Jump to navigationJump to search
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{TGradButton}}
 
{{TGradButton}}
  
===About===
+
==About==
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.
+
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.1'''
+
Current Version: '''1.4'''
  
===Autor===
+
==Features==
Eugen Bolz
+
* 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 )
  
===Screenshot===
+
==Autor==
 +
'''[[User:EugenE|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 [http://www.delphipraxis.net/user11899.html LH_Freak]'s Projekt "[http://www.delphipraxis.net/topic64295_muh+messenger.html M.U.H Messenger]"
 +
 
 +
==Screenshot==
 
[[Image:TGradbutton_demo.jpg]]
 
[[Image:TGradbutton_demo.jpg]]
  
===Download===
+
==Download from SVN==
The Demo is included!
+
You can also use the current SVN-Version of TGradButton
 
+
  svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/ gradcontrols
[http://www.eugen-bolz.de/gradbutton.rar Download TGradButton]
 
  
===Thanks to===
+
[[Category:Components]]
'''[[User:Jesusrmx|Jesus Reyes]]''' for solving the IDE-Bug :)
+
[[Category:GradControls]]

Latest revision as of 15:23, 9 July 2015

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

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 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