Draw a Gradient Either Horizontally, Vertically, or in a Circle
Category:
Screen/GraphicsType:
SnippetsDifficulty:
IntermediateAuthor:
Matt BeightonVersion Compatibility: Visual Basic 6, Visual Basic 5
More information:
Using the line function this module creates a gradient fill on eeither a form or picture box, fades from an rgb color to another. At the moment it is a little bit slow, but i hope to improve that soon. Can be used to make setup screens. Set the object's autoredraw property to true so the gradient stays persistent.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: