Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can i use inkey function to make my program wait 5 secs
Message
From
04/02/2004 05:22:46
 
 
To
04/02/2004 05:06:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00873769
Message ID:
00873776
Views:
19
Hi Raj

The only, but big, problem wth this approach is that if you press enter or click the mouse, you will override the wait you want. Try this instead:


DECLARE Sleep in WIN32API integer
Sleep(2*1000) && 2 sec's
<\pre>

>Can i use the ( = INKEY(2,"HM") ) to make my program wait. before it goes to next line.
>
>I want to put the INKEY function inside a DO While loop
>
>So it can wait 2 secs everytime it makes a round until it comes out successfully out from the LOOP.
>
>Please let me know if i can use it or anyother function aVAIlable.
>
>Thank you very much.
Previous
Reply
Map
View

Click here to load this message in the networking platform