473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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

QT
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

Nov 20 '05 #1
2 1945
* "QT" <we*****@yahoo.com> scripsit:
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


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

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
QT
thank you very much; how I could not think of it!

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OY**************@TK2MSFTNGP11.phx.gbl...
* "QT" <we*****@yahoo.com> scripsit:
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


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

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brindley | last post by:
Hi there, In my Mdi application, I have placed a set of controls on the parent form to call child forms. The problem is that the controls hide the child forms. I have used SendToBack when Im...
1
by: VM | last post by:
I would like to display a child form inside of an MDI but the problem is that I'll be invoking that child form from within another child form. If I use this code: frmReportViewer frmReportViewer =...
3
by: James Spibey | last post by:
Hi, I have an MDI application which has aboout 10 child windows. The way the app needs to work is that only one window should be visible at a time and it should be maximized within the parent...
2
by: Paul | last post by:
Hi this is related to a previous post, hopefully just a bit clearer description o the problem. I have a parent form that opens a new form (child form) while still leaving the parent form open....
10
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
7
by: Siv | last post by:
Hi, I have an MDI application that uses a generic "ShowPage" routine in a module that is called when I want to display a child form. The basic idea is that in the module I have declared each form...
2
by: JohnR | last post by:
Let's say I have an MDI parent form with a textbox. If I create an MDI child form and, at runtime, move the MDI child window over the textbox on the MDI parent, the textbox appears in front of the...
3
by: Kurtulus | last post by:
Hi; I have problem for very long time. I have one mdiparent form and several mdichild form. I have tried to change one control on the mdi parent form form anther one. However I have encountered an...
12
by: Phil | last post by:
I can check for MdiChildren.Length=0, but which event handler should I put this in to detect when a child window is closed? TIA Phil.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.