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

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform