Creating a gradient form

Creating a gradient form in visual basic is so simple as 4 lines of code

Just copy and paste this vb6 form_load event to your code

Horizontal Gradient form

Vertical Gradient form


Change the values of R,G,B to get gradients in different colors

Leave a Reply

Your email address will not be published. Required fields are marked *