GradientFill example gives errors

Posted by Dan Forrester P15960 on July 30, 2007

In Reply to Re: TForm with gradient colors posted by webmaster Guido on July 29, 2007

When I try to compile your source example code for GradientFill with Delphi 7 Personal, I get the errors
"Constant expression violates subrange bounds" and "Types of actual and formal var
parameters must be identical". Maybe I have to include some additional unit in the "uses" statement?
Or what else could be wrong?

Related articles

       

Follow Ups