Adding Gradients to VB forms

By | 2019-09-09

This example shows a couple of custom classes that can very easily be used to add gradients to your VB forms by painting them over standard rectangle shape objects.

You draw the shapes on the form, then in form_load you attach the shapes to the Gradients class, which over-rides the form’s paint event to draw the gradient.

Supports 2 colour gradients Vertically and Horizontally.

Attachments

FileUploadedSize
1016-20190909-074951-VB6_GradientDemo.zip9/9/2019 7:49:51 AM5458
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.