Hi,
I have a TDI application using an UltraTabbedMdiManager, and I would like it to behave like Firefox, i.e. when you add a new tab, it opens at the end of the tab list, but when you click on a link in one of the open tabs, the new tab is placed just at the right of the "parent" one.
Regards.
Olivier FALCY.
Hi there,I also need a similar funtionality as below can you please help?I have set of forms that get open as soon as I launch the application. say Form1, Form2, Form3 and Form4.I need to make the appearance of the forms oder by the user choice by some configuration file.Also I have to rearrange these when I have opened all the forms(due to some framework constraints) Please reply
Thanks for the feedback. If you need any additional assistance, do not hesitate to write us
Regards
Hello Georgi,
I've just tried your method and it works fine.
Thanks a lot.
Olivier.
Hello Olivier,
Have you been able to resolve your issue ? Did you have a time to take a look at the attached sample.
Please let me know if you have any questions.
Maybe one possible way to achieve desired behavior could be if you are using Reposition method of your UltraTabMdiManager. For example:
public static void CreateNewWindow(bool IsButtonPress){ int ActiveTabIndex; if(MyForm.ultraTabbedMdiManager1.ActiveTab != null) ActiveTabIndex = MyForm.ultraTabbedMdiManager1.ActiveTab.Index; else ActiveTabIndex =0; i++; Form2 f = new Form2(); f.MdiParent = MyForm; f.Text = "Form " + i.ToString(); f.Show(); if (IsButtonPress) MyForm.ultraTabbedMdiManager1.TabGroups[0].Tabs[MyForm.ultraTabbedMdiManager1.ActiveTab.Index].Reposition(MyForm.ultraTabbedMdiManager1.TabGroups[0].Tabs[ActiveTabIndex], Infragistics.Win.UltraWinTabbedMdi.MdiTabPosition.Next); int Width = MyForm.ultraTabbedMdiManager1.TabSettings.TabWidth * MyForm.ultraTabbedMdiManager1.TabGroups[0].Tabs.Count + 5; MyForm.ultraTabbedMdiManager1.CreationFilter = new CreatingTextUIElement(Width);}
Please take a look at the attached sample and video file for more details. If you have any questions, do not hesitate to write me