Results 1 to 6 of 6

Thread: URGENT! How to use a Progress Bar!

  1. #1

    Thread Starter
    Hyperactive Member Animelion's Avatar
    Join Date
    Jan 2001
    Location
    Jacksonville NC
    Posts
    283

    URGENT! How to use a Progress Bar!

    I have a listbox, and I am going thru it 1 item at a time, how can I make it so that I have a Progress Bar show how far it is gone thru the list ?
    Last edited by Animelion; May 19th, 2002 at 10:46 PM.
    ~ Animelion

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    I don't understand the first part of your question, but as for breaking out the name, if the full name/extent has only one period, then

    nameonly = left (fname, instr(1, fname, "."))

    will work fine. If more than one period can be there, you have to create a reverse instr function to scan from the right.

  3. #3

    Thread Starter
    Hyperactive Member Animelion's Avatar
    Join Date
    Jan 2001
    Location
    Jacksonville NC
    Posts
    283

    Thanks

    Thanks, but I figured it out, so I changed the topic of the post, read it again
    ~ Animelion

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    the progress bar has two things that you need be concerned.

    1) A value that represents the end (Progressbar.max)
    2) A value that represents a number between 0 and the end(progressbar.value).

    You set the end value before you start the iteration.

    You keep setting the progress value during each iteration.

    You will undoubtedly need to do a progressForm.refresh or doEvents inside the iteration loop.

  5. #5
    PowerPoster cafeenman's Avatar
    Join Date
    Mar 2002
    Location
    Florida
    Posts
    2,819
    What exactly made this urgent?

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    You place a progress bar on the form.

    progressbar1.min = 0
    progressbar1.max = 100

    now to change the values
    progressbar1.value = progressbar1.value + 10 (for example)

    also, you want to check that if progressbar1.value = 100 then upon addition, it just stays the same or goes back to 0.

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