Home » Developer & Programmer » Forms » How to disable Delete icon on menu in oracle forms (forms 10g)
How to disable Delete icon on menu in oracle forms [message #653684] Thu, 14 July 2016 10:39 Go to next message
lucky123
Messages: 12
Registered: June 2016
Junior Member
Hello,

I had set Delete allowed property to 'No' for both master and details block.But still the delete icon is enabled.
Please let me know how to disable it;

Thanks
Lucky
Re: How to disable Delete icon on menu in oracle forms [message #653686 is a reply to message #653684] Thu, 14 July 2016 10:49 Go to previous messageGo to next message
cookiemonster
Messages: 13895
Registered: September 2008
Location: Rainy Manchester
Senior Member
I doubt you can on a per form basis.
Re: How to disable Delete icon on menu in oracle forms [message #653691 is a reply to message #653686] Thu, 14 July 2016 14:10 Go to previous messageGo to next message
Littlefoot
Messages: 21612
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try to create a form-level KEY-DELREC trigger and put
null;
in there.
Re: How to disable Delete icon on menu in oracle forms [message #653705 is a reply to message #653691] Fri, 15 July 2016 03:01 Go to previous messageGo to next message
cookiemonster
Messages: 13895
Registered: September 2008
Location: Rainy Manchester
Senior Member
To be clear, that won't disable the icon, as in make it visibly obvious it can't be pressed, it'll just stop it doing anything when pressed.
Re: How to disable Delete icon on menu in oracle forms [message #653818 is a reply to message #653684] Tue, 19 July 2016 08:40 Go to previous message
linlasj
Messages: 98
Registered: August 2005
Location: Linköping
Member
Hm. Aren't there a SET_ITEM_PROPERTY that takes care of that task? Try to do a disable on that item.
Previous Topic: forms not running
Next Topic: validate data in details block before inserting into database
Goto Forum:
  


Current Time: Fri Oct 23 23:03:30 CDT 2020