Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer not firing
Message
From
06/08/2008 15:28:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01337018
Message ID:
01337021
Views:
20
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform