Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inactivity Timer
Message
De
05/10/1996 21:11:49
 
 
À
05/10/1996 20:17:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009354
Message ID:
00009479
Vues:
57
>Paul, one thing you can do is add a LastTouch property to your application class (or base form/formset) and have the Keypress and MouseMove events of every base class update this property
>and have a timer that will compare the current time with this value
>
>note that the timer will not fire while fox "works" e.g. if a large query is running (in VFP3.0 I have to test it in 5.0)
>
>Arnon

Ok. That means that I must be carefully to update this property everywhere. In the same time, if a query or any other action that "kills" any timer is longer than the time I established, the app will end as soon as is finished. I think that the original question was about something (API function) more reliable.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform