Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut menu position
Message
De
05/04/2001 16:14:40
 
 
À
02/04/2001 15:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00491045
Message ID:
00492507
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform