i have palced some "Acticex controls" on mdi child form and then want for delete any of them control. code is working fine but when i close mdi child form its fine
but when i try to close mdi form it does not close. and also it does not call Closing event. then used "End" in my file->exit menu. tell me why it does not end properly. i am using the following code.
me.activemdichild.activecontrols.dispose()
i have also tried the following but it does not give any problem but it does not destroy the control on the form.
controls.remove(me.activemdichild.activecontrol).
but when i try to close mdi form it does not close. and also it does not call Closing event. then used "End" in my file->exit menu. tell me why it does not end properly. i am using the following code.
me.activemdichild.activecontrols.dispose()
i have also tried the following but it does not give any problem but it does not destroy the control on the form.
controls.remove(me.activemdichild.activecontrol).
Last edited: