Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop and DoubleClick
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00659521
Message ID:
00659864
Views:
28
>Thanks for the feedback Steve. What I am trying to do is run the double-click method, but because I have code in the mousedown method, it fires instead. The code in the mousedown method is
>
>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>if not empty(thisform._aDoctors3)
> this.drag(1)
>endif
>
>
>
>>>Do anyone know how to make this.mousedown not conflick with a this.doubleclick event during a drag & drop?
>>>
>>>thanks,
>>
>>Clicking tthe mouse to select text will fire the doubleclick event. To not run code in this event use NODEFAULT. Code in the base clases will not fire.

Frederick,
I've done something similar but using the OLE version of Drag&Drop as this starts the drag process with only when its sure that a drag is to happen.
OLEStartDrag(.T.)
I hope this is of some help.
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform