Home » Developer & Programmer » Forms » How to disable menu item in default forms menu (D2K6i Oracle 10g Oracle forms 10g)
How to disable menu item in default forms menu [message #633904] Fri, 27 February 2015 04:25 Go to next message
jgjeetu
Messages: 373
Registered: July 2013
Location: www.Orafaq.com/Forum
Senior Member

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.
Re: How to disable menu item in default forms menu [message #634320 is a reply to message #633904] Sat, 07 March 2015 06:17 Go to previous message
jgjeetu
Messages: 373
Registered: July 2013
Location: www.Orafaq.com/Forum
Senior Member

no reply till yet Sad
Previous Topic: SQLLDR
Next Topic: disappear XE database
Goto Forum:
  


Current Time: Sat Aug 15 10:03:29 CDT 2020