TGradButton: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TGradButton
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## About | |
| 2 | + | ||
| 3 | + | 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. | |
| 4 | + | ||
| 5 | + | Current Version: **1.4** | |
| 6 | + | ||
| 7 | + | ## Features | |
| 8 | + | ||
| 9 | + | - Cool-Looking Gradient Background | |
| 10 | + | - Glyph-Support | |
| 11 | + | - Rotated Text+Glyph (only 90° to Left or Right) | |
| 12 | + | - Vertical and Horizontal Background | |
| 13 | + | - GlyphPositions (Over/Under/Left to/Right to the Caption ) | |
| 14 | + | ||
| 15 | + | ## Autor | |
| 16 | + | ||
| 17 | + | **Eugen Bolz** | |
| 18 | + | ||
| 19 | + | ## History | |
| 20 | + | ||
| 21 | + | Version 1.4: | |
| 22 | + | ||
| 23 | + | - \[+\] Caching Background, Rotated Text+Glyphs | |
| 24 | + | - \[+\] Using TButtonGlyph | |
| 25 | + | - \[*\] Using TRotateDirection instead of TRotatedText | |
| 26 | + | - \[*\] using TButtonLayout to set the Glyph Position | |
| 27 | + | - \[~\] Linux-Bugs | |
| 28 | + | ||
| 29 | + | Version 1.3: | |
| 30 | + | ||
| 31 | + | - \[+\] ClickColor | |
| 32 | + | - \[+\] NotEnabledColor | |
| 33 | + | - \[+\] Text Alignment | |
| 34 | + | - \[+\] GlyphPosition | |
| 35 | + | ||
| 36 | + | Version 1.2: | |
| 37 | + | ||
| 38 | + | - \[+\] Glyph-Support | |
| 39 | + | - \[+\] Rotated Text+Glyph | |
| 40 | + | ||
| 41 | + | Version 1.1: | |
| 42 | + | ||
| 43 | + | - \[i\] First Release | |
| 44 | + | ||
| 45 | + | ## Thanks to | |
| 46 | + | ||
| 47 | + | The Idea of creating this Button based on Screenshots of [LH_Freak](http://www.delphipraxis.net/user11899.html)'s Projekt "[M.U.H Messenger](http://www.delphipraxis.net/topic64295_muh+messenger.html)" | |
| 48 | + | ||
| 49 | + | ## Screenshot | |
| 50 | + | ||
| 51 | + | <figure> | |
| 52 | + | <img src="TGradbutton_demo.jpg" title="TGradbutton_demo.jpg" /> | |
| 53 | + | <figcaption>TGradbutton_demo.jpg</figcaption> | |
| 54 | + | </figure> | |
| 55 | + | ||
| 56 | + | ## Download from SVN | |
| 57 | + | ||
| 58 | + | You can also use the current SVN-Version of TGradButton | |
| 59 | + | ||
| 60 | + | ` svn co `[`https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/`](https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/gradcontrols/)` gradcontrols` | |
| 61 | + | ||
| 62 | + | --- | |
| 63 | + | *From the Free Pascal wiki, page "TGradButton", as it stood on 2015-07-09 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 64 | + | Category: Components | |
| 65 | + | Category: GradControls |
