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
135
Setting The Active Tab
posted

I'm using the ultratabbedmdimanager in a windows forms application using vb.net. Can you tell me how to set the active tab at run time?

 

Thank you.

Parents
No Data
Reply
  • 12875
    posted

    I translated Mike Dour’s response from this forum case to VB.

    http://community.infragistics.com/forums/p/4573/21763.aspx

    Dim activeChildManager As UltraToolbarsManager = Me.ultraToolbarsManager1.ActiveMdiChildManager

    If activeChildManager Is Nothing Then

           Return

    End If

    Dim childTab As RibbonTab = activeChildManager.Ribbon.Tabs("RibbonTabKey")

    Dim parentTab As RibbonTab = childTab.AttachedParentTab

    If parentTab Is Nothing Then

           Return

    End If

    Me.ultraToolbarsManager1.Ribbon.SelectedTab = parentTab

     

     

    I think this will give you the information you need.  Let me know if you have more questions.

Children