Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement