Tomba Posted August 26, 2003 Posted August 26, 2003 (edited) MDI alternatives I'm getting sick of it here... I'm only working a couple of days with MDI - C#, and yet I have found two bugs: One: when your MDI children are maximised, you get a control box with the maximize-minimizebuttons, no matter what you do to switch that off. Second: Now I have found even a more annoying thing! I have a combobox, which apparently cannot hold any text when it's in MDI. When I open the form as an MDI child, the text visible in the combobox disappears when you have worked on another program, and does not appear at startup. The only way to get it shown is by selecting the item with the mouse again... When I open the form by not specifying its MdiParent, all goes well :confused: :mad: hmm as a footnote then, is there anyone who knows a good alternatice then for Mdi, I only need the children to work maximized. Anyone has a control that allows me to make a tabbed thing like Visual Studio? thanks Edited August 27, 2003 by Tomba Quote
*Gurus* divil Posted August 26, 2003 *Gurus* Posted August 26, 2003 The minimize, maximize and close buttons for MDI children are supposed to be there, it's not a bug. I'm not sure what you mean about the ComboBox thing, I've never had such an issue. If you can reproduce the bug, you should consider sending it to MS. If you want to implement tabbed documents like Visual Studio, there's a control I wrote on my site that can do it, check the url in my signature. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Tomba Posted August 26, 2003 Author Posted August 26, 2003 hmm well don't you think then that you should at least be able to set the behaviour of the control-box for the complete MdiContainer? Furthermore, very good control you made there! But... well can I also put forms in these tabs instead of just plain text documents? Quote
*Gurus* divil Posted August 26, 2003 *Gurus* Posted August 26, 2003 You can put anything that derives from Control in there, including forms (if their TopLevel property is set to false). I don't see why you'd want to put a form in there though, any old container control would do. You could design a usercontrol and host one of those in there. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Tomba Posted August 27, 2003 Author Posted August 27, 2003 (edited) well point is I now have an Mdi form, with 1 standard child, that is not supposed to dissappear, and shows up maximised at the start. although from that child (which is some kind of a filtered list) you can go to other forms, which are at the moment also mdi children of the main MdiContainer. As that controlbox things for maximized Mdi children annoys me, and your control looks much more modern, I would like to use this way instead of a normal Mdi container hmm.. added a form, and can't get it steady (I mean can still move it on the page)... I suppose in a normal panel or something that would be ok, but I can't design a panel like I do a form in VS.NET can I :mad: Edited August 27, 2003 by Tomba Quote
*Gurus* divil Posted August 28, 2003 *Gurus* Posted August 28, 2003 I already told you, don't use a form, use a UserControl. You can design one of those in vs.net just like you can a form. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.