Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop Between Grids
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00123917
Message ID:
00123926
Views:
10
>Hi
>
>Does anybody know how to do drag and drop between grids?
>
>Igog Gelin.

Igor,

It is possible but it is not easy. The problesm to overcome are realted to tehf act that wehn the drop occurs it is on the grid and not the cell within the grid. You have to figure out which cell was dropped on by dealing with the pixel location where the drop occured. Then you need to move the rocord pointer to the appropriate record, replace in the appropriate field and refresh the grid.

The hard part is figuring out what row and column the drop occured over and translating that into a record number and a field name.

Personally, I woudl replace the grid with a listbox and make life easier for myself.
Previous
Reply
Map
View

Click here to load this message in the networking platform