Hi!
Well, it works, indeed, sorry forget about this (which time? ;)
But if you do not want to display the WAIT window, just use Sleep().
>Vlad,
>
>I don't know what the true minimum is, but ...
>
> wait window 'test' timeout .001
>
>... is pretty fast.
>
>Doug
>
>>Hi!
>>
>>Minimum timeout for WAIT ... TIMEOUT command is 1 second. Better use Sleep API function that does the same:
>>DECLARE INTEGER Sleep in Win32API integer nMilliseconds
>>
>>=Sleep(10) && wait 10 milliseconds
>>
>>
>>
>>>Set a WHILE loop
>>>
>>>DO WHILE [some logical construct]
>>>
>>> WAIT WINDOW [some message] TIMEOUT [time you need to take]
>>>
>>> code you need to run
>>>
>>> IF LASTKEY() = -9 (f10 to exit loop if needed)
>>> [some logical construct if false]
>>> ENDIF
>>>ENDDO
>>>
>>>**************
>>>The great thing about the Wait is it takes no processor power and no special libraries and it will not knock out your web server. Works for FPW and VFP.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.