Home » Developer & Programmer » Forms » Hide 1 option from task bar (Oracle6i)
Hide 1 option from task bar [message #641896] Thu, 27 August 2015 01:01 Go to next message
mdsakib13
Messages: 3
Registered: August 2015
Location: Bangladesh
Junior Member

Dear Friends,

Please help me to hide 1 (one) menu from task bar.

Example pls open my attach file. I want to hide the "SECURITY" OPTION FROM THE MENU.

I am working in RMG section in Bangladesh. Some few problem I have to hide some report for not to seen everyone. Please text me or mail at mdsakib13@gmail.com
------------
B/R
Md. Saidul Haque Sakib
Sr. Executive- Admin & HR
Green Life Group
mdsakib13@gmail.com
sakib@sdlbd.net
skype: sakib013
Re: Hide 1 option from task bar [message #641897 is a reply to message #641896] Thu, 27 August 2015 01:15 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Would code like this do any good?
if get_application_property(username) <> 'ADMIN' then
   set_menu_item_property('your_menu.security', displayed, property_false);
end if;
Re: Hide 1 option from task bar [message #641908 is a reply to message #641897] Thu, 27 August 2015 07:16 Go to previous messageGo to next message
mdsakib13
Messages: 3
Registered: August 2015
Location: Bangladesh
Junior Member

Dear Littlefoot,

Please identify to hide any option in where (FMB/MMB file) will be set the message you wrote.
It should be run the hide menu with password/ hot key in any time.

B/R
SAKIB
Re: Hide 1 option from task bar [message #641909 is a reply to message #641908] Thu, 27 August 2015 07:30 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I was thinking of WHEN-NEW-FORM-INSTANCE trigger.
Re: Hide 1 option from task bar [message #642297 is a reply to message #641909] Mon, 07 September 2015 01:25 Go to previous messageGo to next message
rajesh4851
Messages: 89
Registered: January 2007
Member
u've to write the above code in MMB. Open MMB and go to "Security" and right click. You will get the option to write the code there.
Re: Hide 1 option from task bar [message #642379 is a reply to message #642297] Wed, 09 September 2015 04:22 Go to previous messageGo to next message
mdsakib13
Messages: 3
Registered: August 2015
Location: Bangladesh
Junior Member

Dear Littlefoot & rajesh4851,

Thank you for your conversation. I have understand that how can I hide a option from menu from any user. But I want to know how can I hide a menu from my existing user, which is using by me. and that may be open/ disclose any time by typing any password/ hot key.

B/R
Sakib
Re: Hide 1 option from task bar [message #642380 is a reply to message #642379] Wed, 09 September 2015 04:26 Go to previous message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Create a password item on the screen; execute SET_MENU_ITEM_PROPERTY in its WHEN-VALIDATE-ITEM trigger if the password matches the privileged one(s).
Previous Topic: gobat60.exe not working
Next Topic: Exception ora-06508: attached libraries : please help
Goto Forum:
  


Current Time: Tue Apr 23 08:33:22 CDT 2024