Hi There
I want to create a MDI Winforms application that mimics the behaviour of SQL Server 2005/2008.
That is a parent form containing a WinTree control down the left side of the parent form and next to the WinTree control must be the WinTabbedMDIManager that contains the child forms.
Currently the WinTabbedMDIManager occupies the entire child display area of the parent MDI form.
I need to get the WinTabbedMDIManager to only occupy a portion of the child display area of the parent form.
How do I do this ?
TIA
Jarid,
I suggest that you place an UltraPanel on your Form and dock it to the left side. Place your UltraTree in the Panel and I believe that will give you the result you desire. I am attaching a sample application to this forum thread which will illustrate how this can work. I hope you find it helpful. Let me know if you have further questions.
Hi Michael
Your approach works well, thanks for the sample.
One more question:
When using the MDI Tabbed manager, is it possible to have a mixture of forms in tabs and some forms free floating. ? For example, In SQL Server, all query windows etc are in tabs but the Server Login form is free floating. Is it possible to mimic this behaviour with the MDI Tabbed manager .
Jarid
You are right and that was my first attempted work around.
Problem is that the form is not a "Child" form of the parent form and floats around outside of the parent form as if it is not part of the parent form application.
This is not the desired behaviour, HOWEVER it is the behaviour of the SQL Server Login form in SQL Server Management Studio 2008.
So, ......I will go with your recomendation as it acheives my design goal of achiving the at least same functionality as the SQL Server Management Studio 2008 metaphor.
I just set Me.ShowInTaskBar = False so that the free floating form will not show up sepperately in the Windows task bar
Thanks Michael for you help... and....... oh yes, you can close this log !
You can open different forms and in that way you would have a mixture of forms in tabs. But I believe the only way you can have the form be free-floating is to not set the MdiParent property of the form. And then you would not be using the MDITabbedManager.