General information
Category:
Coding, syntax & commands
>I thought I saw this topic before, but couldn't find anything about it when I searched, so...
>
>Can you drag and drop between grids? I played with it a bit, but couldn't come up with a solution. I can't seem to drag from a grid (don't know about dropping, I never got that far). If I set the dragmode of the grid to auto, the entire grid will drag (I want only the particular record to drag). But, if I set the dragmode of the textbox in the grid to auto, nothing happens, presumably because the grids dragmode takes presidence over the textbox. Any ideas on a way to do this? Basically, what I want to do is drag a record from one grid onto a record on another grid and then perform some operation with those two records.
I did something like that last year. There is 2 documents you can check in the Microsoft Visual FoxPro Knowledge Base.
The first one is How to drag and Drop form a Grid to a textBox. and Article id --> Q137435
The next one is How to set up a Grid as a Destination for Drag and Drop. and Article id --> Q141636
Of course there are some changes to be made but you'll have a pretty good start...
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