General information
Category:
Coding, syntax & commands
>>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)
That didn't work. I get an error "Window 'Dispatch search' Has Not Been Defined". 'Dispatch Search' is the caption on my form. Do I have to create a window and run the form in it?
Thanks for any help,
Larry Morelli
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