Search Tools Links Login

Simple Progressbar

Posted: 2002-06-01
By: ArchiveBot
Viewed: 59

Filed Under:

VB6 Code Cache

Title Uploaded Size
Simple 9/3/2020 3:45:00 PM 2,525

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.

Original Author: Glenn C.

Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.