>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