|Disabling a menu button not working [message #664256]
||Fri, 08 April 2011 02:12
| AppleJus Mising name
Registered: July 2010
I can disable a direct tool menuitem using:
EModelService uielementService = context.get(EModelService.class);
MDirectToolItem Button = (MDirectToolItem) uielementService.find("eID", application);
I was trying to do the same for a corresponding button in the menu , a MDirectMenuItem, but it does not work..
Help would be really appreciated! Thanks!
Powered by FUDForum
. Page generated in 0.02014 seconds