Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slowing down a progress bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00355706
Message ID:
00355715
Vues:
22
>Hi:
>
>As I'm scanning tables I'm showing the progress using the progress bar control. I would like to slow the process down slightly so I inserted an INKEY(.05) inside each scan loop. The problem is that I can't tell the difference between INKEY(.05) and INKEY(.0005). I would like to be able to adjust the speed with greater control. Is there a better way to do this?
>
>Thanx,
>Charlie

I believe it has something to do with the time resolution, as we see it, for example, in Help for SECONDS() function.
SECONDS( ) returns a numeric value in decimal format, with a resolution of 1 millisecond. If you are running Windows NT, resolution is 10 milliseconds.
Maybe our Windows/API gurus Ed and George know more... :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform