Just to make sure:
Do you get "hello" in the popup window and "hello" on the command window?
Or do you get "ello" on the command window?
>Funny ... seems to work for me ... with a "clean" start of VFP 7.0.
>
>There may be another environment setting that is impacting you :(
>
>>Thank you, but still no luck.
>>
>>>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?