Mensaje
De
26/09/2006 09:20:34
 
 
a
25/09/2006 11:36:36
General information
Foro:
Visual FoxPro
Category:
Título:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
ID de la conversación:
01156931
ID del mensaje:
01157227
Views:
33
>Has anyone coded an inactivity timeout in their VFP app? I have a couple of ideas, but they have holes in them. I'm thinking of setting a variable to datetime() and using a timer (about once a minute) to check if the allowable time has passed. The problem, of course, is how to reset the variable that holds datetime() whenever user activity happens. I can use the forms' mousemove and keypress (with keypreview) events to update the variable. But it would probably also mean having to code into the mousemove and keypress events of every base control.
>
>Anybody done this a more sensible way maybe using the windows API?

Check out an article I had in FPA in December '03.

Tamar
Previous
Next
Responder
Mapa
Ver