|Drawing a blue gradient background|
|By: Lorenzo Dalla Vecchia Date: 07/06/1998|
This procedure will start with a blue (RGB 0,0,255)
rectangle with the with of the form and and with the height equal to a 255th of the form
So, the procedure will draw 255 rectangles, each time decreasing by 1 the B ammount.
The last rectangle will be RGB 0,0,0 (Black).
This sub is used to draw a blue gradient background as in Microsoft Setup programs.
|Form: name of the form to paint|
Type of data
The function is contained in a module. You can cut and paste it in any program of yours.
|Visual Basic Programming Zone is a website by
Lorenzo Dalla Vecchia.
Webmaster's e-mail: email@example.com
Hosted by InWind: www.inwind.it