A problem to opem MDI child form from another MDI child form

A problem to opem MDI child form from another MDI child form

Post by hirf-spam- » Sat, 27 Dec 2003 18:38:04


* "QT" < XXXX@XXXXX.COM > scripsit:

\\\
<...>.MdiParent = Me.MdiParent
///

--
Herfried K. Wagner [MVP]
< http://www.yqcomputer.com/ ;
 
 
 

A problem to opem MDI child form from another MDI child form

Post by QT » Sun, 28 Dec 2003 04:27:12

Dear Sirs,

I made a MDI Parent form and two MDI child form. I can open MDI child form
from MDI parent form with;
Dim UserChangePassword_Form As New UserChangePassword

'Set the Parent Form of the Child window.

UserChangePassword_Form.MdiParent = Me

'Display the new form.

UserChangePassword_Form.Show()

But when I try to open 2nd MDI child form from 1th MDI child form, form will
not open with above code. When I do not use
UserChangePassword_Form.MdiParent = Me


2nd form opens but out of MDI Parent form. It is open as a another form on
task bar.

How can I open MDI child form from another MDI child form whish will be
located in the MDI parent form.

Best Regards

 
 
 

A problem to opem MDI child form from another MDI child form

Post by QT » Sun, 28 Dec 2003 06:30:58

thank you very much; how I could not think of it!



form
will