General information
Category:
Forms & Form designer
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only