Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dragging and dropping
Message
De
30/06/1998 23:48:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00112881
Message ID:
00113249
Vues:
17
>I found out at class that VFP does D&D, but it was the last minute of the last day, and there was no time to go into the hows of it. The docs turned out to be less than helpful. Anybody know of instructions for it? If not, could someone tell me how to do it?
>
>The two things I can think of now that I want to do is dragging from a list box onto a grid and from a grid to the same grid. That second one probably needs more explaning... I want to be able to click on a row, drag off the row, and have it insert a copy of the record I clicked on. Is this possible?
>
>Thanks,

Cetin already wrote about the DragMode property and the DragDrop event. Another thing to look at is the DragOver event. Dragging from a list box to a grid makes some sense, but IMHO from a grid over to the same grid (reordering elements?) would not be very intuitive to the user. If reordering, I would suggest a listbox with mover bars. That's just my opinion of course.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform