Is it possible to prevent a PopupMenuTool from becoming disabled when all of its child Tools are disabled?
Thanks
Hi,
I have tested with v10.2 to set SharedProps.Enabled to false for all tools in a PopupMenuTool and the popup menu is still enabled. Please, give me more details how you disable the tools or upload a sample illustrating this behavior, and I will research it for you.
Regards,
Stefaniya
Hi Stefaniya,
I probably should of included some more relevant information in my question. The scenario in question is dealing with a ribbon which has a pop up menu. I have attached a simple example that demonstrates the problem.
When ButtonTool1 and ButtonTool2 are disabled, PopupMenuTool1 is also disabled.
Thanks in advance,
Stephen
I didn't realise it was part of the guidelines, thanks for the help :o)
If you set ToolbarsManager’s Office2007UICompatibility property to false, the popup menu will pop, regardless all tools in it are disabled. The Office 2007 UI Guidelines states that a popup menu on a ribbon group must be disabled if it contains all disabled items, so disabling it will make the popup to work.
I hope this helps.