I have an vb 6 project with a mdi form and several mdi child forms. In the load event of the mdi child form
I do the coding such as:
me. width = 6000
me. height = 1000
call CenterForm (this function center the mdi child form against its mdi form).
The problem is sometimes it works fine. But sometime strange things happened when I call it several times for example:
First call, it works fine and then I close the form.
Second call, the top of the form is lower then the first call and so on for the next call.
What I should do in coding to my problem from showing the form till closing the form ?