>>>Hi all,
>>>I am trying to implement an inactivity timeout in our app. I made use of a timer object to check for keystrokes, using the lastkey() function. However, I need to track mouse-clicks as well to reset the timeout value. How can I track the a mouse click from my timer class?
>>>
>>>Thanks in advance. Ramil 12/20
>>
>>Does INKEY(.01,"M") work with what you're trying to do?
>
>I already tried it but this does not process mouse-clicks. But I think there must be something along this lines that I can use.
Sure it does, that's what the "M" as a parameter does. It returns a 151 when the mouse is clicked. Just what is it you're trying to accomplish?