[Help]Vb.Net Using MDI Form?[Solved]

Posts 1–14 of 14 · Page 1 of 1
[Help]Vb.Net Using MDI Form?[Solved]
Like in VB6, They had MDI Forms that included Other-Forms without having to make a Seperate Form and be Messed, they have it on 1 Form.

Any help = Good


Also, how can i make a program to View a Xbox 360 Harddrive?
Create a new MDI Parent Form and the designer auto-generates some code you can learn from.
They still have MDI forms in Visual Basic .NET.

You'll be working with the property MDIParent.

Code:
Dim child As Form = New Form2()
child.MdiParent = Me
child.Show();
Quote Originally Posted by freedompeace View Post
They still have MDI forms in Visual Basic .NET.

You'll be working with the property MDIParent.

Code:
Dim child As Form = New Form2()
child.MdiParent = Me
child.Show();
Provided "Me" is a MDI parent form.

EDIT: Let me clarify:

The "Form" you try to add children to must have its "IsMdiContainer" property set to true before forms can be added as children to it.
lol then why did you add it ?
Quote Originally Posted by o0OpurezO0o View Post
lol then why did you add it ?
I always have gay avatars lol,
First, set the "IsMDIContainer" property of Form1 to "True". If you did it right the form should turn Dark Grayish.

Create a new form called form2.

Now in Form1's Load event add this:
Code:
        Form2.MdiParent = Me
        Form2.Show()
Quote Originally Posted by Lolland View Post
First, set the "IsMDIContainer" property of Form1 to "True". If you did it right the form should turn Dark Grayish.

Create a new form called form2.

Now in Form1's Load event add this:
[code Form2.MdiParent = Me
Form2.Show()[/code]
Thanks for repeating everything already said, exactly as we said it.
Quote Originally Posted by freedompeace View Post

Code:
Dim child As Form = New Form2()
child.MdiParent = Me
child.Show();
Whats that Semi Colon doing Dar

Quote Originally Posted by Lolland View Post
First, set the "IsMDIContainer" property of Form1 to "True". If you did it right the form should turn Dark Grayish.

Create a new form called form2.

Now in Form1's Load event add this:
[code Form2.MdiParent = Me
Form2.Show()[/code]
Why you got to copy what Jason and freedom said tho
Spam Removed.
Jasons Ava or the redundancy of someones post is not "on topic", keep it to VM / PM
Maybe all of our posts above?

@Me "copying"
I opened the thread and responded later. I didn't even see your posts.

/solved
/close

the rest of the replys you know will be spam or un-needed help. Trust me.
Closed @ OP's Request.
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us