Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse click trapping
Message
From
21/12/2000 13:25:09
 
 
To
21/12/2000 09:46:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00455670
Message ID:
00456011
Views:
26
>>>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?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform