General information
Category:
Coding, syntax & commands
This is the normal behaviour of the wait window. You might try the Sleep() API instead:
DECLARE Sleep IN Win32API INTEGER nMilliseconds
WAIT WINDOW NOWAIT "Monitoring FTP Server..."
Sleep(30000)
WAIT CLEAR
HTH
>I have the following code in one of my programs:
> wait window 'Monitoring FTP Server...' noclear timeout 30
>I am attempting to simulate a timer but if the user presses a key or clicks the mouse the wait window is cleared and program execution continues, I do not want that to happen. I want the program to wait for 30 seconds no matter what happens... what am I doing wrong??
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only