Information générale
Catégorie:
Codage, syntaxe et commandes
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??
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement