If all you want is to close all the child forms present on the form, then you don't require any extra code. bydefault MDI form closes all its childs properly before exiting
But, if you want to close all the existing forms on the MDIForm without exiting the parent form, then you have to loop throught the activeforms on the screen using me.activeform and close them.
|
__________________
Regards,
Sidhu
When you do not get the expected result, change your programming language.
|