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
Hello, do you have a answer for this issue?