sasikumar

sasikumar

  • NA
  • 15
  • 0

Displaying Child forms as Modal Dialog

Nov 10 2011 2:31 AM
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)