I would have a timer checking some ischanged() function. In one of my customers
i count the number of entries in a grid, after that number i save.

HTH, E.



----- Mensagem original ----
De: "MB Software Solutions, LLC" <[email protected]>
Para: ProFox Email List <[email protected]>
Enviadas: Quarta-feira, 8 de Setembro de 2010 13:22:54
Assunto: Detecting user inactivity in your app (VFP9SP2)

One of my older clients (7 years ago!  And that app is still kicking ass 
for them!  haha) has requested that I change their app to auto-save 
based on activity/inactivity.  Does this mean that in my entry controls 
like textbox, editbox, checkbox I put code in the KeyPress to update the 
form's custom "LastHit" property with the current date/time stamp and 
key off of that for logic to save and/or kick them out (due to 
inactivity)?  Could add code in the button's GotFocus event too I guess.

Ideas?

tia,
--Mike

--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.



      

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to