Create Horizontal, Vertical, or Diagonal Gradient Forms

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Vaggelis Lamprinoudis

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Paste these functions into a modlue and you can create gradient forms with JUST one line of code !! See comments in code for syntax.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: