Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-Mouse Popup Menu Placement
Message
De
03/05/2006 10:01:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Right-Mouse Popup Menu Placement
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01118767
Message ID:
01118767
Vues:
54
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform