>>>I tried WAIT NOCLEAR NOWAIT TIMEOUT nSeconds
>>>
>>>It works, but it tells the user 'Press any key...' during the timeout.
>>>Do you know if there is a way of removing that? I don't want the user to press to cancel the timeout.
>>
>>Hi Pascal,
>>
>>Try WAIT "" TIMEOUT nSeconds
>>
>>However, that will cause a cursor to appear. You might look at INKEY(). For example: INKEY(nSeconds, 'H') to hide the cursor.
>
>Come on George, :-) give him the API Sleep() function. :-))
Hi Bill,
You mean:
DECLARE Sleep IN Win32API;
INTEGER dwMilliseconds
= Sleep(nSeconds * 1000)
Yeah, that's there too, and has its place. However, I've posted so many API solutions, that folks might get the idea that's all I'm interested in. And, yes, folks, I have using a timing loop for this purpose too.:-)
I think that our friend Dragan once said that something can be done either 3 ways in VFP or not at all. In this case, 4 if you count the API.< BG >
George
Ubi caritas et amor, deus ibi est