Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-click menu
Message
De
09/03/1998 08:55:52
 
 
À
06/03/1998 17:17:42
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083141
Message ID:
00083341
Vues:
22
>>I didn't use much Right-click menus and now look at 'strange' situation (I guess it's something simple, but it's Friday:). Right-click menu is opened from Grid.Column.Control.Rightclick event with command ACTIVATE POPUP pop1 AT mrow(),mcol(), and for some reason it opens in different positions depending what I run: app or exe file.
>>TIA.
>
>Use the shortcut keyword when you define the menu in the rightclick method
>
>local m.cPopup
>m.cPopup = "rclickpop"
>define popup (m.cPopup) shortcut from mrow(),mcol()
>define bar 1 of (m.cPopup) prompt "prompt1"
>define bar 2 of (m.cPopup) prompt "prompt1"
>on selection popup (m.cPopup) messagebox(allt(str(bar())))
>activate popup (m.cPopup)
>
>Murray

Murray and Mark, thanks for your replies. Unfortunately, it's VFP3 (no shortcut option).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform