Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A real Timer
Message
De
02/09/1997 11:10:41
 
 
À
02/09/1997 11:07:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00048038
Message ID:
00048039
Vues:
24
>I am working on a timer solution. I have found that VFP timer control doesnot get event during long statements like SQL select,
>and user actions (mousebutton down on window title etc.)
>I wrote an fll, in which I use the NullEvent to check the elapsed time, and if an interval is over it fires a UDF. (Time resolution 1 sec) It works under normal VFP statements like SQL select (so it is good for animated thermobar bmp-s, which has no affects for the select performance - max 4 percent slower). But ...
>VFP NullEvents doesnot come under some user actions. So, if user push down the mouse button my timer event isnot fired.

In Windows, no matter what we'll do, we'll never be able to rely on something that will never miss one event. This is just the way Windows is.

Many factors can affect that. Here, you have SQL. It can also be another application doing an intensive process or just to start another application.

However, what you plan to do might help a little bit, however it will not work 100%.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform