>>Hello
>>
>>What would be the best time to detect an application timeout ?
>>
>>If the user is not active for a period of time I would like to shutdown the application. This is to allow backup at night.
>>
>>Any ideas ?
>>
>>Xavier
>
>Use a Timer object. Reset it every time the user presses a key. When the time elapses, call the code to shut down.
>
>Detecting keystrokes requires to intercept Form.KeyPress(), and setting Form.Keypreview = .T.
>
>HTH, Hilmar.
Hi This is nice if you have one form but what if the user only has the menu displayed ?
Xavier
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