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
665
Child ribbon tabs not showing correctly
posted

I'm having an issue with the child ribbon tabs not showing up correctly when a second and/or third child is loaded onto the parent form

I'm on Windows 7, with VS2010 and Infragistics 10.1

The parent form is set to "IsMDIContainer" = true, and each child is set to false

The UltraToolBar MDIMergable=true and Office2007UICompatility= true.

I have the following code in the frmMain:

    Protected Overrides Sub OnMdiChildActivate(ByVal e As System.EventArgs)
          MyBase.OnMdiChildActivate(e)
          Dim activeChildManager As UltraToolbarsManager = Me.UltraToolbarsManager_Main.ActiveMdiChildManager
          '.......................................
          If Not activeChildManager Is Nothing Then
               Dim childTab As RibbonTab = activeChildManager.Ribbon.Tabs(0)
               Dim parentTab As RibbonTab = childTab.AttachedParentTab
               If Not parentTab Is Nothing Then
                    Me.UltraToolbarsManager_Main.Ribbon.SelectedTab = parentTab
                    
               Else
                    '.......................
               End If
          Else
               '............................
          End If
          '---------------------
     End Sub

But everytime a child is loaded the parent ribbon only displays the first childs ribbon even though the user selects different children.

Thanks ahead of time.

Patrick

Parents
No Data
Reply
  • 665
    posted

    Ok guys whats up?  No answer? Remember there are no dumb questions.

    I would like to attach a sample of what I having an issue with, BUT your upload only allows 200kb file, and my file is 333kb.  Whats up with that?  How can I get you a sample of the issue if I cannot upload this file?

    Please respond.

    Thanks,

    Patrick

Children