set_menu_item_property not supported in Forms 10g? and Disabling Menu item programmatically. (merged [message #181519] |
Mon, 10 July 2006 06:52 |
nirmalnarayan
Messages: 261 Registered: April 2005 Location: India
|
Senior Member |
|
|
Hi,
I am trying to disable certain menu items programmatically in some of the forms to which this menu is attached, using the following code.
set_menu_item_property('MENU1.FILE_MENU',ENABLED,PROPERTY_FALSE);
where MENU1 is the name of the menu module and FILE_MENU is the name of the menu item.
I have written the above code in PRE-FORM trigger.
But it is not at all disabling this menu item.
Any one can help me out in this?
Thanks n Regards,
Nirmal
|
|
|
|
|
|
set_menu_item_property not supported in Forms 10g? [message #181786 is a reply to message #181519] |
Tue, 11 July 2006 08:49 |
nirmalnarayan
Messages: 261 Registered: April 2005 Location: India
|
Senior Member |
|
|
I am trying to disable some of the menu items, which is not requiered in some of the forms, i tried it writing in when-window-activated, when-new-item-instance, pre-form etc., but with no result.
So my doubt is set_menu_item_property is not at all supported in Forms 10g?
Is this true ?
Thanks and Regards,
Nirmal
|
|
|
set_menu_item_property not supported in Forms 10g? [message #181788 is a reply to message #181519] |
Tue, 11 July 2006 08:54 |
nirmalnarayan
Messages: 261 Registered: April 2005 Location: India
|
Senior Member |
|
|
I am trying to disable some of the menu items in some of the forms using set_menu_item_property.
I have tried this in when-new-item-instance, when-window-activated, when-new-form-instance and even in pre-form, but it does'nt seem to work.
My doubt is that the set_menu_item_property is not at all supported by Forms 10g ?
Thanks and Regards,
Nirmal
|
|
|
|
|