VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Simple Progressbar

Glenn C.  (3 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Beginner   Wed 3rd February 2021

I've seen a lot of progress bar code on this site, but I haven't seen any that show you how to set up the caption so it will change color as the bar moves over it.
This is a very basic example of how to do that. The trick is setting the DrawMode to "Not Xor Pen"; you can also use "Merge Pen Not".
This example is only to get you started. You'll have to play around with the BackColor, ForeColor and RGB color used for the bar to get the color effect you want.
Have fun.

Rate Simple Progressbar (3(3 Vote))

Download Simple Progressbar

Simple Progressbar Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters