Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00881620
Message ID:
00882188
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
>Looks like this always works in revert order:
KEYBOARD "hello"
WAIT WINDOW "hello"
>What should be done to delay the second line execution until keyboard is completed?

I've done something like this in the past.
KEYBOARD "hello"
DoSleep(.1)
WAIT WINDOW "hello"

PROCEDURE DoSleep
LPARAMETERS tnDelay
LOCAL lnSeconds

lnSeconds = SECONDS()

DO WHILE SECONDS() - lnSeconds < tnDelay
   DOEVENTS
ENDDO

RETURN
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform