Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting that shortcut menu where I want it
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01264711
Message ID:
01295485
Views:
17
Well, I'll have to give that a go . . . assuming I can remember which project I was using that technique in! <g>

Thanks for your reply.

>I was struggling with this too and found a very simple fix, which seems to work just fine. The ACTIVATE SCREEN is the answer. Hope this helps. Here's my code:
>
>IF MCOL() < 0 OR MROW() < 0	&& returns -1 if called from toolbar while a form has focus
>	ACTIVATE SCREEN		&& so can get accurate row/col
>ENDIF
>
>DEFINE popup xPopup SHORTCUT RELATIVE FROM  MROW(), MCOL()	&& create context menu
>
>>I'd always prefer to do something natively in VFP, if possible. I've avoided ActiveX controls partly because of the hassles of installation and registration, but I guess I'll give those controls a look, assuming I install SP2 (which may be required for those controls, but I might have seen someone here say it's not, so I just don't really know, yet).
>>
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform