Results 1 to 6 of 6

Thread: vertical progressbar? [RESOLVED]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65

    vertical progressbar? [RESOLVED]

    is it possible to have a progressbar 'progress' from 0 at the bottom to 100 at the top? if not, then i'll make myself a little funtion algorithm thingy that fills a picBox...
    Last edited by joeframbach; Feb 24th, 2003 at 04:00 PM.
    if you choose not to decide you still have made a choice!

    RUSH rocks!

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    u can use the old progress bar...otherwise u'll have to make ur own one
    \m/\m/

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    the old progressbar? i dont have vb6 or anything...
    if you choose not to decide you still have made a choice!

    RUSH rocks!

  4. #4
    Junior Member
    Join Date
    Jul 2002
    Posts
    31
    Try putting the maximum as 0 and the minimum as 100.

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    see if this would help :

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    i'm having unrelated XP install problems so i removed .NET...
    it works for now, maybe i did something wrong with the install, so i'll look over that sometime, but until then no vb for me...

    i worked on this at school during lunch, here's what i did:
    i made a panel with height=0 and backgroundColor=blue
    i made an invisible picBox and did Send to Back, put it behing the panel
    the picbox represents the progressbar and the panel represents the progress
    to change the progress, i did this:

    pseudo-pseudocode:------------------------------------------------
    panel.height=value*picbox.height/max
    panel.location.Y=(picbox.location.Y+picbox.height)-value*picbox.height/max
    ---------------------------------------------------------------------------

    its not the best, but it does a pretty good job for what i need it for
    if you choose not to decide you still have made a choice!

    RUSH rocks!

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