Results 1 to 4 of 4

Thread: ProgressBars

  1. #1

    Thread Starter
    Hyperactive Member mastermind94's Avatar
    Join Date
    Jun 2000
    Location
    Montréal, Canada
    Posts
    441

    Arrow

    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?

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb 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.

  3. #3
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    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.

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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
  •  



Click Here to Expand Forum to Full Width