Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement