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.
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.
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.
source to share
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"
source to share