Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop Between Grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123917
Message ID:
00123926
Vues:
9
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform