Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MROW() MCOL() from a grid
Message
From
23/07/2003 16:24:42
 
 
To
23/07/2003 15:06:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00812838
Message ID:
00812929
Views:
12
>>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
Map
View

Click here to load this message in the networking platform