Hi Victor,
I posted some code for this in my blog some time ago.
http://tomsvfpblog.blogspot.com/2010/05/inaktivitat-des-anwenders-uber-timeout.htmlAlthough it's in commented in german, you should be able to use it.
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011