This is a migrated thread and some comments may be shown as answers.

MDI Tabbed Form, Is this possible?

3 Answers 185 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 06 May 2009, 07:09 AM
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

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 07 May 2009, 09:56 AM
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.
0
Mark
Top achievements
Rank 1
answered on 28 Nov 2016, 08:28 PM

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

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Nov 2016, 12:45 PM
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. 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.
Tags
Dock
Asked by
Per
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Mark
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or