How does one have mdichildren forms automatically sized to fit the parent form?
-
How does one have mdichildren forms automatically sized to fit the parent form? My situation is I may have 5 to 10 child form at once and I would like to see all at once. I'm developing in C# in Visual Studio 2005 Any and all suggestion are appreciated. Thanks
-
How does one have mdichildren forms automatically sized to fit the parent form? My situation is I may have 5 to 10 child form at once and I would like to see all at once. I'm developing in C# in Visual Studio 2005 Any and all suggestion are appreciated. Thanks
If I recall correctly you have to set a property in the parent called MdiLayout
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
If I recall correctly you have to set a property in the parent called MdiLayout
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
Thanks, I'm developing in VS2005 and it doesn't have that setting in the property view. But that gives me an idea of what to look for and I'll still take any other answer Thanks
I've just checked it and it's a method you need to call in the Parent, check the MdiLayout enum on MSDN for values.
this.LayoutMdi(MdiLayout.Cascade);
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)