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
4133
How To Select Contextual Tab Group
posted

I have a main form that launches MDI forms.  When I show my MDI child form, a contextual tab group is created and the ribbon merges properly, but I can't figure out how to make the contextual tab group the selected tab in the ribbon.  Office2007 compatibility is off.

Parents
  • 18495
    Verified Answer
    posted

    Hello rehemann,

    Thank you for contacting Infragistics.

    You can do what you want by using a line of code similar to the following.  Make sure you use this line in the parent form after the child has been made visible.

    ultraToolbarsManager1.Ribbon.SelectedTab = child.ultraToolbarsManager1.Ribbon.Tabs[0].AttachedParentTab;

Reply Children
No Data