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.
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;
How keep the selected merged Tab selected when switching between MDI childs?
Even if both childs have the same merged Tab, the selected changed to the first Tab of the parent Form?
What I want is keep the selection if both MDI childs have the same tabs?
Can the toolbar manager do this or do I have code something to achieve this?
Thanks for your help.
Regards. Markus