MDI Tabbed Form, Is this possible?

4 posts, 0 answers
  1. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 06 May 2009 Link to this post

    Hi!

    I have been struggling with this problem for 2 weeks now and I just can't find a solution.
    Im running version 2009 Q1

    What I want to do is this:
    In the demo example "Dock/MDI", I want to add a new tab called "new form".
    This tab should always be the last tab and any new mdi forms should be inserted just before this tab.
    Example: If I have tabs like this <Form1><Form2><New Form>
    and add a new form is should look like this <Form1><Form2><Form3><New Form>

    When I click on the tab <New Form>, I want a new MDI form (of type demo form1) to be created and inserted before the <New Form> tab.
    I also want the new form to be activated.

    Is this possible?

    Regards
    Per Bornsjo
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 07 May 2009 Link to this post

    Hi Per,

    This functionality is not supported in the current edition of the DockingManager, but this is very good idea and we can implement it in the new RadDock.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mark
    Mark avatar
    6 posts
    Member since:
    May 2016

    Posted 5 days and 12 hours ago Link to this post

    Has the functionality in this question been added? I'm also looking for a new tab to be added to the end of the tabstrip and not the beginning.

     

    Thanks

    Mark

  5. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 4 days and 20 hours ago Link to this post

    Hello Mark, 

    Thank you for writing back. 

    You can control whether the newly added document will be added in front or to the back of the tabbed documents by the DocumentManager.DocumentInsertOrder property. It is necessary to set it to DockWindowInsertOrder.ToBack and thus the new documents will be added to the back.
    this.radDock1.DocumentManager.DocumentInsertOrder = DockWindowInsertOrder.ToBack;

    I hope this information helps. If you have any additional questions, please let me know. 

    Regards,
    Dess
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top