Greetings,
I have been to an illogical programming case:
I have created MDIParent form
"Form1" and then add another form
"Form2" to the project then set "Form1" as the parent form of
"Form2" on the
"Form1" load event through the following code:
Dim ChildForm As New Form2
ChildForm.MdiParent = Me
ChildForm.Show()
Now I added a panel
"Panel1" to the parent form
"Form1" and set its
Dock property to
Full in order to cover all the
"Form1".
What is weird is that at the load event of
"Form1",
"Form2" should appear, but what happened was that it didn`t appear and it looked like it is under the panel
"Panel1".
So what is the method or syntax in Vb.Net that makes "Form2" which is the MDIChild of
"Form1" to appear on top of all controls that are added to the parent form
"Form1" and not under them?
Please advise...
Thanks in advance....