By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

Progress Bar

P: n/a
Hi folks,
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.
Thanks
Carl

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
http://www.planet-source-code.com/vb...1829&lngWId=10

There are quite a few, try this one, or if you dont like it use google to
search.

OHM
Carl Tam wrote:
Hi folks,
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.
Thanks
Carl


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #2

P: n/a
* "Carl Tam" <an*******@discussions.microsoft.com> scripsit:
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.


Why not implement a control like this on your own? For example in a
usercontrol. You can draw the gradient in the control's 'Paint' event
with the 'LinearGradientFill' class.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
Cor
Herfried,

Why the one in the link OHM did suplied is very nice?
Why not implement a control like this on your own? For example in a
usercontrol. You can draw the gradient in the control's 'Paint' event
with the 'LinearGradientFill' class.


Cor
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.