hi Naomi,
I didn't find the sleep function in VFP, but I use the tips from Holzer and It works very well. Thanks for the help
regards,
Jerry
>>just want to lock the form for a while, until the process finish.
>>
>>I use
>>
>>wait windows 'Please wait...' timeout 60
>>...
>>
>>
>>but if the client touch the keyboard then the process will be interrupted and not finish.
>>so I want to lock the keyboard for 60 seconds
>>
>>regards,
>>
>>Jerry
>>
>>
>May be you need to use sleep function instead?