>I already made smthg. I use Grid1.movedown(to scatter fields) and Grid1.moveup (to gather fields).Now the question is how can I find the cursor2.recno() before Grid1.moveUp
>
>Thanks
You mean grid1.
MouseDown and grid2.
MouseUp, right?
You will need to hit the grid at the moment your DRAG ends with
MOUSE CLICK
DOEVENTS()
This will effectively move the record pointer to the desired record, provided you did not hit exactly the grid lines.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison