Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: Timer interval limits
Message
De
27/08/2001 16:02:21
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
27/08/2001 13:12:45
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00548280
Message ID:
00549593
Vues:
17
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform