>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement