Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag Drop Images
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01363922
Message ID:
01364333
Views:
16
>I got it, very simple all I had to do was use the plain VFP Dragdrop feature, set Dragmode to 1 (Automatic) then in the form DragDrop event set these values.
>Thisform.Image1.Left = nXcoord
>Thisform.Image1.Top = nYcoord
>All I have to do now is to figure the calculation of the cursor position in relation to Image1.Left and Image1.Top so the Image lands in the correct place. Redrawing the image in the Dragover event is not succesful, too slow, but I can live with that
>J

You can do it using the VFP drag and drop stuff, but the OLE stuff is much more flexible and I find easier to use.
Previous
Reply
Map
View

Click here to load this message in the networking platform