Insure
_VFP.Autoyield = .T.
prior to running that section of code.
>No, it does not help.
>
>>
>>KEYBOARD "hello"
>>DOEVENTS
>>WAIT WINDOW "hello"
>>
>>
>>>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?