Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:32 Go to next message
Miloslav Frajdl is currently offline Miloslav FrajdlFriend
Messages: 48
Registered: June 2018
Member
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 13:56 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
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é


Eclipse Scout Homepage | Documentation | GitHub
Re: Enabled Field Action and Field Menu for disabled field? [message #1854590 is a reply to message #1854582] Fri, 26 August 2022 19:38 Go to previous message
Miloslav Frajdl is currently offline Miloslav FrajdlFriend
Messages: 48
Registered: June 2018
Member
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: Thu Apr 25 15:55:41 GMT 2024

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

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

Back to the top