MDI Child Form
[Originally posted by Larry Asher]
When ever opening a child form if there is another form open that is larger it is reduced to the size of the new child form. I can stop this if I place an exit sub in the resize event but, that also prevents the user from resizing the form.
Here is the scenario: I have a recipe form and when the user selects add ingredient the ingredient form opens but the recipe forms size is reduced to the ingredient form. Both the recipe form and the ingredient form are child forms in the application.
This is frustrating to me and I imagine it will be to users also. I noticed that Microsoft products do not behave this way, imagine that.
Any help would be greatly appreciated, thanks.
Hope you all have a good weekend.
Re:MDI Child Form
[Originally posted by Ed Ardzinski]
Larry check the border style property of the forms.ÿ It defaults to Resizable, which gives the application discretion as to how to size a child form.ÿ I usually set the border style to "fixed-single" so that my design time intentions are carried out.
You might also get frustrated by the random nature of where the forms come up int he MDI forms client area.ÿ You can alter this a couple of ways...change the startup position property of the form to "center owner", or I usually put the following in the form load event:
Me.Top = 0
Me.Left = 0
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center