Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Canceling mouse events from a mousedown()
Message
From
22/03/2005 17:16:20
 
 
To
22/03/2005 16:50:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00998164
Message ID:
00998284
Views:
20
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform