hi, I am trying to center mdi child form in the mdi parent form.
I had a centerform function written already, what events should I call from?
Right now I called the function from mousemove event. So every time I resize the form, I have to move the mouse on the form to center the form in mdi main form. Otherwise it will stay un-centered. I tried to call it from form_resize event, but It does not center the form when I move the border of the form. And there is no event called after_resize :(
So what should I do to call centerform function after I resize the form?
Thank you very much and have a nice day!