Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Canceling mouse events from a mousedown()
Message
De
22/03/2005 17:16:20
 
 
À
22/03/2005 16:50:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00998164
Message ID:
00998284
Vues:
22
>Fabio,
>
>>A global setting is possible in VFP9 with:
>>
>>BINDEVENT(0,WM_LBUTTONUP,someMouseMonitor,LButtonUp).
>
>That sounds cool, but I'm not sure what that would buy me over my current approach? I'm guessing that once a mouse event sequence starts, VFP takes over and handles the hand off between events:
>
>mousedown --> mouseup --> click (or rightclick) --> dblclick etc.
>
>Malcolm

Infact i written "not simple"

But MouseDown and MouseUp are two events!

For your task,
another solution ( the VFP classic solution )
is capture the mouse button down status into a MouseDown's Loop
( you can polling the MDOWN() status)
and set the this.MouseCancel=.T. when you want stop the MouseUp event.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform