Mds Child question

  • Thread starter Thread starter WStoreyII
  • Start date Start date
W

WStoreyII

i have a form which is an mdi parent i have another form that i am trying to
get to open when i click the open button here is my code

dim edit as frmedit
edit.mdiparent = me
edit.show

this is not working so how do i get it to open?

wstoreyII
 
WStoreyII said:
i have a form which is an mdi parent i have another form that i am
trying to get to open when i click the open button here is my code

dim edit as frmedit
edit.mdiparent = me
edit.show

this is not working so how do i get it to open?

wstoreyII

Try:
Dim Edit as New frmedit
 
i tried that but then alls i get is an empty form and i need the form that i
have already opened up

WStoreyII
 
its a another from that is in the project
but i need it to open up inside the mdiform

i need to make it an mdi child?

WStoreyII
 
Form A = MDI Form
Form B = Regular Form

In Form A:

Private Sub MyButton_Click(Blah) handles MyButton.Click
Dim frm as B = New B
frm.MDIParent = Me
frm.Show
End sub

That will do that, if I'm understanding you right.

HTH,
Sueffel
 
WStoreyII said:
its a another from that is in the project
but i need it to open up inside the mdiform

i need to make it an mdi child?

Sorry, I don't understand this.

You've got one MDI form. You've got another Form /outside/ the MDI form. Now
you want it to become and MDI child. Right?

Or: You have two different types of MDI child forms. You've already opened
one and now want to open another?


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top