Hello,
Is there currently a way to keep a PopupMenuTool in the dropdown state when the user has selected a menu item?
I am currently working on an application which gives the user lots of choices, each is represented by a StateButtonTool in a PopupMenuTool and currently the user has to reopen the popup to select another item.
Thanks,
Sean
Hello Sean,
One possible solution could be :
private void ultraToolbarsManager1_ToolClick(object sender, ToolClickEventArgs e)
{
if (e.Tool.Owner.GetType() == typeof(PopupMenuTool))
((PopupMenuTool)ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool1"]).DropDown();
}
Let me know if you have any questions.
Regards
I finally figured out how come I could not see the child controls that belong to the ToolBase item. These are Epicor screens so I do not have access to the source code. In the Epicor initialize method, the controls had not yet been added to the ToolBase. When I evaluated the ToolBase items in the BeforeToolDropdown event, they were there.
I am good to go on this now. Thank you for your help!
Hi,
If you need any additional assistance don’t hesitate to ask.