Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with drag and drop
Message
From
26/05/2001 09:58:58
 
 
To
26/05/2001 03:11:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00511772
Message ID:
00511793
Views:
22
There is a whitepaper on Jim Booth's web site that discusses drag and drop. www.jamesbooth.com


>Hi All,
>
>This is my first attempt at trying to incorporate drag and drop in a form.
>
>It is my understanding that in the MouseDown event of an object I can have This.Drag(1) and in the MouseUp event I can have This.Drag(2) and that would do it.
>
>However, when I put This.Drag(0) in the MouseUp event, which to my understanding should cancel the action, VFP still drops the object I'm dragging just as if I had This.Drag(2) in the MouseUp event.
>
>I tried adding a Suspend in the MouseUp event and the suspend doesn't execute. I tried adding a Wait Window "Test" in the MouseUp event and that doesn't execute either. I'm wondering if the MouseUp event is firing at all.
>
>Can anybody offer me some insight. BTW, I'm using VFP 6 from Visual Studio 6.
>
>Thanks in advance for your any assistance.
>
>Aloha,
>
>James
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform