|
-
Jun 17th, 2000, 09:57 PM
#1
Thread Starter
Hyperactive Member
I have VB5 Enterprise Edition and I only have that ugly progress bar with big blocs. How can I have a smooth one with no blocs and the percentage in the middle like Windows does?
-
Jun 17th, 2000, 10:20 PM
#2
PowerPoster
Change the Scrolling properties
Just change the ProgressBar's Scrolling properties from ccScrollingStandard to ccScrollingSmooth.
But for the percentage, I don't think it can be done, try to look for the freeware on the net.
-
Jun 17th, 2000, 10:31 PM
#3
I found exactly what you're looking for on Planet Source Code. Try this link.
http://www.planet-source-code.com/vb...txtCodeId=1512
Note: In the last part of the code posted here, you should declare the variable "i", and the last line should be "Picture1.Cls", NOT "Picture.Cls".
"It's cold gin time again ..."
Check out my website here.
-
Jun 17th, 2000, 10:57 PM
#4
Fanatic Member
WOW, What a great piece of code!
BTW, you shouldn't change the Picture.Cls for Picture1.Cls! because the Picture.Cls id the local var name within scope, Picture1.Cls is probably the name of your actual picture control! This way your control can be Picture2 and when you pass it, all still works.
I just tested it.
Paul
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|