Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse click trapping
Message
De
21/12/2000 13:25:09
 
 
À
21/12/2000 09:46:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00455670
Message ID:
00456011
Vues:
28
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform