>I have a shortcut that I want to run from rightclick on a grid. The grid is part of a form that I run with 'DO FORM
'. The problem is that MCOL(),MROW() are returning the mouse position from the main FOXPRO window. I want the popup to show up right next the cell on the grid that was right clicked.
>
>How do I pass the mouse position from the grid?
>
>I appreciate any help,
>Larry Morelli
You can pass a parameter to both MROW & MCOL saying what window you are interested in. Since you are in a form you should be able to MROW(THISFORM.Caption) and MCOL(THISFORM.Caption)
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers