Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Menu Off The Screen
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00765089
Message ID:
00765106
Views:
15
If you've Form open than MROW() and MCOL() returns mouse position relatively to that form. If you want position relative to the VFP screen, add "SCREEN" parameter.
nRow = MROW("SCREEN") + 1
nCol = MCOL("SCREEN") - 7.5
>I have a toolbar that pops up a menu, like Outlook.
>
>The menu works fine except when there are screens open. Then the
>popup menu appears off the side of the screen.
>
>My code is:
>
>
>nRow = MROW() + 1
>nCol = MCOL() - 7.5
>
>DEFINE POPUP ShortCuts FROM nRow, nCol IN SCREEN SHORTCUT
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform