i have two grids that i want to be able to drag from one grid to the other. im just not sure which methods i should be using for each grid. if anyone can just give me a quick runthrough on which methods for each grid i would need, i would really appreciate it. i just want the user to mousedown on grid one, then drag to grid 2, then mouseup on grid2. but mouseup on grid2 doesnt seem to fire unless the mousedown event was triggered on grid2 in the first place..... thanks alot
Hi,
You might want to check out these two KB articles. Neither one does exactly what you want, but they demonstrate some general draw and drop techniques.
HOWTO:How to drag and drop rows in a single WinGrid
HOWTO:Drag and Drop Between WinGrid and WinTree
I used the code to drag and drop rows in a single grid and it does not work.
The selection dragged event actually occurs when you double click on a row.
When I right clicked and tried to drag nothing happened. I suspect some other property set on my grid might be causing this not work.
What other properties have to be set? I am hiding the group by box - is that the problem??
Thanks