Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slowing down a progress bar
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00355706
Message ID:
00355715
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform