Replace custom menu with Oracle Forms 11g default menu

In my main form window, I have the following menu bar which is used to navigate. Inherited from the .mmb file.

Menu image 1

Now when I select any form in the menu, suppose I have selected the highlighted Purchase Order, then I do not want the same menu to be displayed. I want the default menu for Oracle Form 11g to be displayed instead, and below for the link.

Menu bar 2

I changed the Inherit property to No and the menu from image 1 does not appear in the Purchase Order, but I still don't get the default menu and smartbar.

How can I achieve this?

Thank.

+3


source to share


2 answers


So I figured out a way to disable the .mmx menu and enable the DEFAULT and SMARTBAR menus when I go to another form via the menu.

From the first screenshot above, the on-click trigger had the following code

call_form(:global.path||'pc');

      

I replaced it with

call_form(:global.path||'pc',hide,do_replace);

      



So adding

hide, do_replace

have worked.

Side note. Also, make sure that the Inherit Menu property of the Window property is "YES" and the Module property of the form is set to "DEFAULT & SMARTBAR"

+2


source


I think that in the properties window from the form you got the property "menu module"

If you create a new form, it gets the default: DEFAULT & SMARTBAR



So, I think it is now filled with your mmb file name.

+1


source







All Articles