Click to See Complete Forum and Search --> : Position of child forms


gknierim
February 11th, 2000, 10:16 AM
I have a child form that is shown from selecting it from the menu. The problem I am having is that if I close that child form and then select it again from the menu, it places that window down and to the right and not at the same location as the first time I loaded the window. What is causing this to happen and how can I fix it?

Thanks.

Johnny101
February 11th, 2000, 12:21 PM
MDI forms are always trying to help you out. Its because the MDI form is placing them for you. And if you have the child forms' border style set to sizeable, the forms are resized as well. I just manually position the forms during the child form's load event. It's easier to just center the child form and let the user move it. I do however offer the typical Windows menu options to tile and cascade the child forms.

I'm sure there is way to get around this, but since I haven't had any complaints, I don't worry about. :)

John

John Pirkey
MCSD
www.ShallowWaterSystems.com