Problem with menu item [message #543532] |
Wed, 15 February 2012 02:53 |
|
new_oracle2011
Messages: 174 Registered: March 2011 Location: Qatar
|
Senior Member |
|
|
I want to disable the menu item from the menu. As i know, there are two ways of doing this.
01. Write
set_menu_item_property('menu.menu_item', ENABLED, PROPERTY_FALSE);
in Startup code of the menu itself
02. Mannually disable the item from property palette
but both of these are not working. I have also disabled the Menu Security and removes the roles from the menu itself.
what exactly is the thing which is controlling the menu? Or is there any other way to disable/disappear the menu item?
|
|
|
Re: Problem with menu item [message #543545 is a reply to message #543532] |
Wed, 15 February 2012 03:18 |
|
aallan
Messages: 150 Registered: October 2011
|
Senior Member |
|
|
Hi,
I advice you to insert the menus name in table, and create a form according to this table with privileges, and according to this privileges you can use Menu Startup Code to write you code.
And in Menu Startup Code you can select your menus name and set property as you want.
[Updated on: Wed, 15 February 2012 03:19] Report message to a moderator
|
|
|
|
|
|
Menu roles table: how to create and use it [message #689044 is a reply to message #543551] |
Thu, 31 August 2023 05:16 |
|
mfahimaamirgmailcom
Messages: 64 Registered: May 2011 Location: pakistan
|
Member |
|
|
Thank you for your reply
see my code in startup code
declare
l_username varchar2(40);
begin
l_username := get_application_property(username);
SET_MENU_ITEM_PROPERTY('MANUMENUWINDOW.TEST1',ENABLED,PROPERTY_FALSE);
end;
Dear Sir, I followed this code, but the system gave me an error at the time of running
the form.FRM-10256: User is not authorized to run Form Builder Menu
the form.FRM-10256: User is not authorized to run Form Builder Menu
sir see attached picture
Could you please guide me on Module Roles and how to define them
Now I'm logged in as Scott
Please guide me about Menu Role table How do I create a role for a user that is created from SQLPluse by a sys user or a Scott user?Which rights are granted to the user
please guide me step by step
I greatly appreciate your valuable guidance and assistance
Regard's
|
|
|