How to reload a MDI child form???

FrostByte01

Member
Joined
Mar 6, 2006
Messages
6
Programming Experience
10+
I have an app that can have several MDI child forms open at any one time. How do I reload/repaint/refresh the active child and not the others.

I've tried form.refresh on the child along with many different combinations of invalidate, validate, focus, sendtoback etc.

I've kinda worked around this by adding an Activeated event to each child form and then doing a visible = false, visable = true. I have to store the starting location and reset it after to keep the window in place, but it still flickers, and then the next form's activeated event is triggered.

There has to be a better solution, anyone have an idea?

Thanks
Edward
 
Well I'm sort of like you having the same experience.

I have multiple forms displaying information also and I need to update the children after I change the info. So far I havn't addressed this problem because I can close the child and reopen it refreshing the information in the process.

but I'm like you there has to be a better solution than closing the current child and reopening the child with the updated info.

Maybe Jon can read this and give us some help.
 
Back
Top