Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag Drop Images
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01363922
Message ID:
01364333
Vues:
17
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform