Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu position
Message
From
05/04/2001 16:14:40
 
 
To
02/04/2001 15:44:19
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00491045
Message ID:
00492507
Views:
18
>Hi! I have a little problem with the position of my context shortcut menu. For example, if I use the following code in the form's RIGHTCLICK event:
>
>DEFINE POPUP contextual FROM MCOL(), MROW()
>
>it works fine, but I need to define the popup in INIT event (just once), thereby, the only thing I can do is issuing:
>
>MOVE POPUP contextual TO MCOL(), MROW() or
>ACTIVATE POPUP contextual AT MCOL(), MROW()
>
>in RIGHTCLICK event, but this doesn't work. The popup appears really far away of mouse pointer.
>
>Since now, thank you very much!!!
>
>Raúl O. Godoy
>Salta - Argentina

If you define your menu as a SHORTCUT, all you need in your RightClick event is "DO yourmenu.mpr". It will be positioned at the mouse pointer by default.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform