Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6: Timer interval limits
Message
From
27/08/2001 16:02:21
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
27/08/2001 13:12:45
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00548280
Message ID:
00549593
Views:
27
>Are you sure ? As I recall correctly and have used in several programs, Timers also fire when VFP does not have the focus.

I think you're right ... at least with Win 98, etc. Maybe Win 95 might not be as friendly.

I've been doing some "game loop" programming, with and without timers, using timers with Intervals from 1 to 5000 milliseconds, multiple timers, one app, multiple apps, etc. and everyone seems to be getting their fair share of the CPU.

The only time you might run into a problem is when you "drop down a menu" (including a control menu) in the VFP app; in that case, performance may become erratic or the VFP app may "stop" all together until the menu is "rolled back up".

The (VFP 6) DOEVENTS performance bug apparently is not a problem either if it is inside a Timer event.
Previous
Reply
Map
View

Click here to load this message in the networking platform