Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Enabled Field Action and Field Menu for disabled field?
Enabled Field Action and Field Menu for disabled field? [message #1854581] Fri, 26 August 2022 09:32 Go to next message
Eclipse UserFriend
Is it possible to have Field Action and/or Field Menu enabled even if the field is disabled? It is disabled by default in this case.

I want to have the field disabled, but at the same time be able to use either the action or the menu.

Thanks for any answers.
Re: Enabled Field Action and Field Menu for disabled field? [message #1854582 is a reply to message #1854581] Fri, 26 August 2022 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi Miloslav

I'd say you can use the inheritAccessibility for this case. The value of the property is true by default. Try this in your Menu class:

@Override
protected boolean getConfiguredInheritAccessibility() {
  return false;
}


Cheers, André
Re: Enabled Field Action and Field Menu for disabled field? [message #1854590 is a reply to message #1854582] Fri, 26 August 2022 15:38 Go to previous message
Eclipse UserFriend
Hi André,

thanks for your response. But it only works on the menu. Can it be done somehow for field action?
Previous Topic:Updating a formData class
Next Topic:Maven Error in Eclipse
Goto Forum:
  


Current Time: Mon Jul 07 09:23:41 EDT 2025

Powered by FUDForum. Page generated in 0.27575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top