Best way to have a tabbed MDI application



Hi all,

As some of you would know from my previous posts that I am rewriting our Unix
based system into .Net with a MDI interface.

Recently I have added a tab control to the top of the MDI parent form that
will contain a tab page for each open MDI child form. It is only 24 pixels
high so all you see is the tabstrip. Then I only have to add a bit of code to
the "changed index" event of the tab control as well as the "on activate"
event for the child forms (which is actually done on a baseform which is
inherited by all the child forms) to ensure that if either a tab is clicked
or another child form is activated then the current child form and current
tab are in sync.

Nothing too complicated here, but I am currently tossing up whether to
actually do away with having MDI child forms and just create all the intended
child forms as user controls which when required are inserted onto a new tab
page. But I am unsure if this is going to create headaches for me in managing
tab pages rather than MDI child forms.

The problem I have with an MDI app is preventing the users from changing the
state of the child form - I would like to have it maximised all the time. Is
there way to prevent the control box in the upper right corner of the MDI
form from being displayed?

Anyway, it would be great if people could share their experiences on tabbed
MDI applications so I can be aware of any pitfalls before I make the decision.


tia,

Mac

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200512/1
.



Relevant Pages

  • Re: Problem (dispose?) MDI forms
    ... It's done by the tabbedMDI interface from ... It looks like a tab where eveyry form is represented ... child are created inside the form (I additionaly even check if all ... tabbed mdi interface and the users stills sees the "closed" window in the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Best way to have a tabbed MDI application
    ... using the tab control, I've used a toolbar and a panel. ... I'm presuming that you are not using mdi forms in the same way as word - ie ... > will contain a tab page for each open MDI child form. ...
    (microsoft.public.dotnet.languages.vb)
  • MDIForm Parent/Child forms BEST Practice
    ... if i open a child form from another child form and try to assign ... when the mdi parent closes, i would like the app to terminate. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Moving the MdiClient area
    ... MDI interface looking just like Outlook. ... 3D border on the MdiClient using Interop. ... When trying to open MDI child forms, I first received an error about ... MDI child form before displaying it: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: MDI child forms without title bars
    ... Don't set WindowState to Maximized and the title bar goes away. ... knows it's a child form and seemingly maximizes the child form so you don't ... see the backcolor of the MDI parent. ...
    (microsoft.public.dotnet.framework.windowsforms)