VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SUPER FAST Gradient Fills (Any Angle) (Updated)

Rocky Clark (Kath-Rock Software)  (12 Submissions)   Complete Applications   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

(Updated - Even Faster Now) This class will fill any Form or PictureBox with a Gradient fill starting from Color1 and blending to Color2. Sure, I know you've seen that plenty of times, but this code allows you to select any angle 0º to 359.99999º and it does a perfect blend at all angles. Use any colors, even system colors. Create multiple special effects by setting PictureBoxes next to each other and filling them in different directions. Includes full source code and sample program. PLEASE VOTE FOR ME!

Inputs
Properties: Color1 (Long) Color2 (Long) Angle (Single) Draw (Method)

Returns
Draw returns True if successful

Rate SUPER FAST Gradient Fills (Any Angle) (Updated) (69(69 Vote))

Download SUPER FAST Gradient Fills (Any Angle) (Updated)

SUPER FAST Gradient Fills (Any Angle) (Updated) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters