Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-Mouse Popup Menu Placement
Message
De
03/05/2006 17:37:31
 
 
À
03/05/2006 10:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01118767
Message ID:
01118944
Vues:
16
>I have defined a right-mouse click popup menu as follows:
>
>
>lcWindow  = thisform.Name
>DEFINE POPUP shortcut SHORTCUT FROM MROW(lcWindow), MCOL(lcWindow) IN WINDOW (lcWindow)
>...
>
>
>The above code works well for placing the menu at the current cursor position in the window. However, if two instances of the form are present (each modeless), then the menu placement is located on the second instance always. That is, if the user "pops-up" the menu on the first form instance, the menu appears on the second instance; works as expected on the second instance.
>
>Any suggestions on forcing the menu to be on the active form always? Thanks.
DEFINE POPUP shortcut SHORTCUT FROM MROW(0), MCOL(0)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform