Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881620
Message ID:
00882188
Views:
22
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform