Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WAIT command without Keyboard
Message
From
17/12/2013 10:48:56
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01590443
Message ID:
01590487
Views:
79
>>>What is the best way to PAUSE program execution for 1 second at a time, regardless of Keyboard activity?
>>>I am generating Time Stamps, ,but when keyboard is pressed, the WAIT statement gets bypassed and my Time Stamps repeat.
>>>
>>>.
>>>Thanks
>>
>>
>>declare Sleep in Win32api integer   && only once
>>
>>= Sleep(1000)
>>
>
>That was going to be my answer. The time is 1000 = one second. 500 = half second, etc.

See my answer to Cyrus. I think that is the best approach to dealing with dlls in vfp/fox
Previous
Reply
Map
View

Click here to load this message in the networking platform