Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer not firing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01337018
Message ID:
01337021
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Try to add a DOEVENTS in the loop.

>Actually, the OS is Windows XP SP3.
>
>Here is the problem.
>
>I added a timer to a form to "blink" the disabledbackground color of an edit box (just to draw attention to the message placed in it for newbies...)
>
>The problem is, it does not blink.
>
>I enable it, set the interval to 500 and then proceed through some code. The code has a 20 second loop in it that looks for a file to show up in a folder. As soon as this loop is finished, and I show up a messagebox on the screen, the editbox starts to blink THEN.
>
>So, does the loop kill the timer during the 20 seconds?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform