display mdi childs as tab pages
-
I have a MainForm which is MDI parent to all other forms. I want the to display the child forms as tab pages inside the MainForm. Is it possible? Can anyone help me with this please?
cellardoor
-
I have a MainForm which is MDI parent to all other forms. I want the to display the child forms as tab pages inside the MainForm. Is it possible? Can anyone help me with this please?
cellardoor
You don't need an Mdi setup to do that. It is possible to do in tab pages, though I'm not saying it's a good idea. You will you will not get designer support for this. You have to create your forms as if they were normal, then you have to modify the forms and add them to the appropriate TabPages in your code. There is a hidden little property of a form call
TopLevel
. Set this property to False, then you can add the form to any container that holdsControl
objects.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007