General discussion
May 10, 2001 at 04:35 AM
gmz3

MDI Child resizes automatically in VB 6

by gmz3 . Updated 25 years ago

I have a VB 6.0 project with an MDI form and several MDI Child forms. I have flex grids on the various child forms. A double-click on a Flex Grid will show another MDI child over top of the currently open child form so now 2 forms are open and visible. However, the MDI child with the flex grid that was clicked (to show the new form) resizes on it’s own with absolutely no code directing it to resize.

I have checked the windowstate and startup positions, and have set height and widths forthe forms, but they somehow resize on their own. I debugged and found that at the moment the new form shows, is the moment that the height and width change on the already open form (the one with the flex grid that was clicked to open this new form).

Anyone else experience this problem and know a way around it?? I’m baffled. Thanks.

This discussion is locked

All Comments