Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
390
Ribbon Inheritance Issue
posted

Hi,

Here’s the scenario: I have FORM A that I want to inherit ribbons from FORM B. But we don’t want to set FORM B as an MDI child so we used and set the property MdiMergeable = FALSE and that did the trick. But we ran into problems with the ToolbarsManager.  We have an UltraDropDownButton control in FORM B that we populate tools (statebuttons, popupmenus, etc.) into on the fly, and 4 tools that are predefined. We also have a Contextual Menu (popumenu tool) assigned to an UltraGrid on FORM B that we populate the same tools into on the fly as well, and 4-5 tools that are predefined. When the code below is not present, everything is just working fine, the tools are shown. But when we add the code below, all the tools that we create on the fly are not being shown, but the ones that are predefined are there.

Here’s the code that’s giving us trouble:

If Not Me.IsMdiChild Then

Me.UltraToolbarsManager1.MdiMergeable = False                 fMainMenu.UltraToolbarsManager1.MdiMergeable = False                  fMainMenu.UltraToolbarsManager1.ActiveMdiChildManager = Me.UltraToolbarsManager1

End If

Please advise, thank you.
  • 44743
    posted

    I believe it should work. Non-mdi merged toolbars managers should still show drop down and context menus. I do remember an issue being fixed recently relating to UltraDropDownButton and merged toolbars managers, so it is possible the latest hotfix will fix your issue. You can also submit a sample demonstrating the issue to the support group: http://es.infragistics.com/gethelp.