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
File | Uploaded | Size |
---|---|---|
1016-20190909-074951-VB6_GradientDemo.zip | 9/9/2019 7:49:51 AM | 5458 |