Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can i use inkey function to make my program wait 5 secs
Message
De
04/02/2004 05:22:46
 
 
À
04/02/2004 05:06:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00873769
Message ID:
00873776
Vues:
20
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform