2
Answers

Displaying Child forms as Modal Dialog

sasikumar

sasikumar

13y
2.2k
1
Hi,

I've a parent form frmParent and a child form frmChild. I open the child form as a modal dialog from the parent form as below --

frmChild.ShowDialog(this);

Now, when the child form is opened, I'm able to move the child form outside the parent form.  Is there a way to restrict the Modal form to move within the Parent form ?

Thanks,

Answers (2)