Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop the process, execution of instructions in a method.
Message
From
30/09/2001 14:54:24
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00562337
Message ID:
00562348
Views:
22
>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.
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform