Click to See Complete Forum and Search --> : Window form problem


savagerx
December 26th, 2003, 11:06 AM
Dear pros, pardon me for my ignorance. But could some one be kind enough to show me a short snipet of code that shows how I could create a non-modal form in a MDI parent form and how to enable it to be dragged out of the parent form.

A thousand thanks :):confused:

BKP
December 26th, 2003, 02:57 PM
With a form, you can do it easily by just choice to call Show() method if you want to show the form as modaless-form and ShowDialog() as modal-form. If you want the modaless form can be dragged out of the MDI parent, please do not set the MDIparent of modaless-form to the parent MDI form.

Try this,
regards