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
40
Open MDI tab without activation
posted

Hello

Is there option how open new tab without change of current active tab?

Thanks

  • 5389
    Suggested Answer
    posted

    Peto127.

    Before opening a new tab, get a reference to the UltraTabbedMdiManager's ActiveTab, and after the new tab is added, call Activate() on the original ActiveTab.  For example:

                MdiTab activeTab = this.ultraTabbedMdiManager1.ActiveTab;

                Form1 f2 = new Form1();
                f2.MdiParent = this;
                f2.Show();

                activeTab.Activate();

     

    ~Kim~