Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop.
Message
From
01/02/2005 17:15:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Drag and Drop.
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982899
Message ID:
00982899
Views:
54
Hello,

Ok....

I have 4 pictures. One I want to drag from and three I want to drop to.

I have been looking at the examples and am still scratching my head.

In the from picture object, I am using the mouse move event and call the oleDrag and setting the lDetectDrag to .T.

In the oleStartDrag I have:
nEffect=1
oDataObject.SetFormat("Picture")
oDataObject.SetData(This.Picture,"Picture")

I have tried to use the oleDragDrop in the to object and several other events to drop the picture on the other three objects. The only event that seems to fire off is the oleCompleteDrag. This event does not tell me the to object.

What can I try next?

Thanks,

-Greg
Next
Reply
Map
View

Click here to load this message in the networking platform