Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by Tomba
  • *Gurus*
Posted

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.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

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?

  • *Gurus*
Posted
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.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted (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 by Tomba

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...