Hi all, just wondering how everyone else does gradient fills... do you do it
manually or is there a fast function...
I found a GradientFill in the Windows unit... couldn't find any
documentation for it in Delphi, implemented it, found that it needed Win
2000 or Win 98 to work (I guess that is why it wasn't documented!)...
Marching onwards I found the below in Delphi's help... Couldn't get that
working (or find the appropriate function) either.
Any help appreciated.
Regards
Colin
-----------Delphi Help on Gradient Fill Follows-----------------
Applies to
TCanvas
Declaration
procedure GradientFill(Canvas: TCanvas; Const Rect: TRect; top, bottom:
TColor; Horizontal: Boolean);
Description
The GradientFill method is used to fill a Screen area with multi-colored
lines to obtain a nice shadow effect and coloured backgrounds. The
Chart.Gradient component uses this method internally. Chart.pas must be in
your uses clause.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz