Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Short Cut Menus
Message
De
19/11/1998 10:56:56
 
 
À
19/11/1998 10:50:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00159285
Message ID:
00159295
Vues:
18
>Hi all,
>
>I'm a little confused about shortcut menus. I've looked in the samples section included with VFP but need some further help. What I'm trying to do is pop a shortcut menu for a control when you right click the mouse. My trouble stems from when I'm trying to set a mark on the menu initially and update it when the user makes a selection. I've used the menu designer to initially create the menu but when I try to add code in the .mpr (before the activate line) foxpro fails and tells me that the code can only be added in a method ?
>
>
>Thanks,
>
>Don

You can mark menu bar(s) programmatically from your app code:
Set Mark of Bar 2 of "modules" to .T.
You shouldn't touch MPR file, because it will be regenetared every time you change MNX file.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform