VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Boxgradient module

stephane swertvaegher  (20 Submissions)   Complete Applications   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

A very neat effect to color your forms or pictureboxes. This code is very
small but very usefull. A MUST HAVE for anyone who likes different forms...

Assumes
The routine must be stored in a module. This effect can be done in a form or a picturebox. If you call it in the load-event, remember to set the autoredraw property to true. Syntax: Call BoxGradient(Object,r,g,b,rstep,gstep,bstep,direc) where: object = the form or picturebox r,g,b = the starting-colors of the gradient rstep,gstep,bstep: the amount of increasing the colors direc: true or false For example: Call BoxGradient(Form1,128, 64, 0, 1, 2, 2, False) [email protected]

Rate Boxgradient module (2(2 Vote))
Boxgradient module.bas

Boxgradient module Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters