Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short Cut Menus
Message
From
19/11/1998 10:56:56
 
 
To
19/11/1998 10:50:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00159285
Message ID:
00159295
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform