Difference between revisions of "TGradButton"

From Lazarus wiki
Jump to navigationJump to search
Line 2: Line 2:
 
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.
 
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.2'''
+
Current Version: '''1.3'''
  
 
===Features===
 
===Features===
Line 9: Line 9:
 
* Rotated Text+Glyph (only 90° to Left or Right)
 
* Rotated Text+Glyph (only 90° to Left or Right)
 
* Vertical and Horizontal Background
 
* Vertical and Horizontal Background
 +
* GlyphPositions (Over/Under/Left to/Right to the Caption )
  
 
===Autor===
 
===Autor===
Line 14: Line 15:
  
 
===History===
 
===History===
 +
Version 1.3:
 +
* [+] ClickColor
 +
* [+] NotEnabledColor
 +
* [+] Text Alignment
 +
* [+] GlyphPosition
 +
 
Version 1.2:
 
Version 1.2:
* [Added] Glyph-Support
+
* [+] Glyph-Support
* [Added] Rotated Text+Glyph
+
* [+] Rotated Text+Glyph
* [Added] If Component is not Enabled the Color changes to clGray
 
  
Version 1.1:  
+
Version 1.1:
* [Info] First Release
+
* [i] First Release
  
 
===Screenshot===
 
===Screenshot===
Line 28: Line 34:
 
The Demo is included!
 
The Demo is included!
  
[http://www.eugen-bolz.de/gradbutton.rar Download TGradButton]
+
[http://www.lazarusforum.de/downloads.php?view=detail&id=21 Download from Lazarusforum]
  
 
===Thanks to===
 
===Thanks to===
 
'''[[User:Jesusrmx|Jesus Reyes]]''' for solving the IDE-Bug :)
 
'''[[User:Jesusrmx|Jesus Reyes]]''' for solving the IDE-Bug :)

Revision as of 21:37, 12 July 2008

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.

Current Version: 1.3

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

Thanks to

Jesus Reyes for solving the IDE-Bug :)