Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp5a API problem
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00445331
Message ID:
00446629
Views:
14
>>>>>>>>>>>
Hi,

Thank for the advise. Actually,I mostly use WAIT WINDOW '' TIMEOUT
in my application, so my application should just wait for the timeout.
However, my application seem to halt the whole system until my
system clock is out.

So, what do you mean when the Wait Window... will stop anything that is
running, does that mean the running program only or including other currenting
running program too ?

As for the Wait window NOWAIT... ,does it mean to wait for the reset time
and then proceed after the command, please advise.

Thank for your advise and comment.
>>>>>>>>>>>>
This is from the help in VFP6

WAIT
[cMessageText]
[TO VarName]
[WINDOW [AT nRow, nColumn]]
[NOWAIT]
[CLEAR | NOCLEAR]
[TIMEOUT nSeconds]

NOWAIT

Continues program execution immediately after the message is displayed. The program doesn't wait for the message to be removed from the main Visual FoxPro window, but continues executing on the program line immediately following the program line containing WAIT NOWAIT. If you omit NOWAIT, program execution pauses until the message is removed from the main Visual FoxPro window by pressing a key or clicking the mouse.

TIMEOUT nSeconds

Specifies the number of seconds that can elapse without input from the keyboard or the mouse before the WAIT is terminated. nSeconds specifies the number seconds (fractional seconds are permitted) that elapse. If TIMEOUT isn't the last clause in WAIT, Visual FoxPro generates a syntax error message.

Hope this helps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform