Thanks, Gregory, it's what I was looking for. I'll try with this function.
>>Hello, What I want to do is the following. I need to stop the process, execution of instructions during some seconds in a determined point of a form's method. The use of ´wait window "" timeout nnn´ isn't the solution because the cursor appear into the form, neither the solution is something like ´Do while LnOriginalSeconds + nnn > seconds()´: it increases the use of CPU.
>>Any suggestion?
>>
>>Thanks in advance.
>
>Rodolfo,
>
>Would follwong do ?
>
>declare Sleep in Win32api integer
>=Sleep(nMilliseconds)
>----------
>OS
>Requires Windows NT 3.1 or later; Requires Windows 95 or later
>
>
>Parameter Information
>· nMilliseconds
>Specifies the time, in milliseconds, for which to suspend execution. A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If there are no other threads of equal priority ready to run, the function returns immediately, and the thread continues execution. A value of INFINITE causes an infinite delay.
>
>Return Values
>This function does not return a value.
Rodolfo Martín Villanueva