Hi John ---
You may want to consider not having any reference to the bar within the Menu file and add DEFINE BAR, ON SELECTION, etc. on the fly as needs dictate. You do not have to have any "placeholders" in the menu builder.
> I need to have a submenu in a shortcut menu. The items or bar in this submenu will not the same everytime. It depends on the data in table. Therefore, some additional condition such as IF statement after ON BAR command to define customise bar. How could I do so in Menu designer?
> I tried to open .mpr to modify manually. However, there is a risk that the .mpr will be overwrite by items specified in menu designer. How could I solve this problem? Currently, I am copy and customise the menu in .prg file.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05