My requirement is I want to disable menu item in default menu of oracle forms.
For example i want to disable "SAVE" submenu in "FILE" Menu of Forms.
I wrote following code on WHEN_NEW_FORMS_INSTANCE:-
SET_MENU_ITEM_PROPERTY('FILE.SAVE',ENABLED,PROPERTY_FALSE)
and
DECLARE
menuitem_name VARCHAR2(30):='FILE.SAVE';
mi_id MenuItem;
BEGIN
mi_id := Find_Menu_Item( menuitem_name );
Set_Menu_Item_Property(mi_id,ENABLED,PROPERTY_FALSE);
END;
but both codes are not working , i am attaching .fmb file.
Please provide the solution.