Difference between revisions of "TGradButton"

From Free Pascal wiki
Jump to navigationJump to search
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.4'''
 
Current Version: '''1.4'''
  
===Features===
+
==Features==
 
* Cool-Looking Gradient Background
 
* Cool-Looking Gradient Background
 
* Glyph-Support
 
* Glyph-Support
Line 13: Line 13:
 
* GlyphPositions (Over/Under/Left to/Right to the Caption )
 
* GlyphPositions (Over/Under/Left to/Right to the Caption )
  
===Autor===
+
==Autor==
 
'''[[User:EugenE|Eugen Bolz]]'''
 
'''[[User:EugenE|Eugen Bolz]]'''
  
===History===
+
==History==
 
Version 1.4:
 
Version 1.4:
 
* [+] Caching Background, Rotated Text+Glyphs
 
* [+] Caching Background, Rotated Text+Glyphs
Line 37: Line 37:
 
* [i] First Release
 
* [i] First Release
  
===Screenshot===
+
==Screenshot==
 
[[Image:TGradbutton_demo.jpg]]
 
[[Image:TGradbutton_demo.jpg]]
  
===Download===
+
==Download==
 
The Demo is included!
 
The Demo is included!
  
 
[http://www.lazarusforum.de/downloads.php?view=detail&id=21 Download from Lazarusforum]
 
[http://www.lazarusforum.de/downloads.php?view=detail&id=21 Download from Lazarusforum]
  
===Download from SVN===
+
==Download from SVN==
 
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
 
===Thanks to===
 
'''[[User:Jesusrmx|Jesus Reyes]]''' for solving the IDE-Bug :)
 

Revision as of 22:04, 8 October 2008

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