| Unit HDGradBtn |
| Classes |
TGradBtn -
| Functions |
Register -
| Types |
TGradientStyle
TPreset
TShadeType
TTextStyle
| Constants |
| Variables |
| Functions |
| Types |
TGradientStyle = (gsHorizontal, gsVertical, gsElliptic, gsRectangle,
gsVertCenter, gsHorizCenter);
I learned the basic gradient technique from a component by John Baumbach.
I added several more types of gradient and 3D text. His component was
derived from a SpeedButton. I found his component at the Delphi Deli,
(www.delphideli.com), a great place on the Web. There are a lot of
comments in here, which kind of trashes up the code, but I wanted to
make this understandable to just about anybody, so have tried to explain
everything that's going on.} {These are the six different gradient styles available.
TPreset = (None, GoldCoast, LimeBox, Aluminum, SunRise);Added some presets to make things easier
TShadeType = (stLight, stHeavy);ShadeType refers to the 3D text effect.
TTextStyle = (tsNormal, tsRaised, tsInset);Text can be normal, or 3D raised/inset
| Constants |
| Variables |