Making my head spin

  • Thread starter Thread starter BOFH
  • Start date Start date
B

BOFH

I am an avid VB programmer, although only simple stuff. Our school
purchased VB.net 2003 and the first thing I tried has me baffled....MDI.

I can create the parent easy enough, but the child form has me at a dead
end. Ive looked on the microsoft site for answers to no avail.

Can anyone here describe the process of having the MDI parent containing a
child form?

BOFH
 
Have a look at the following in the on line help. It has a worked example
"Creating MDI Child Forms"
 
BOFH said:
Can anyone here describe the process of having the MDI parent containing a
child form?

Simply design your child forms as normal forms. You can instantiate them at
runtime and make them children of an MDI container. The code below can be
placed in an MDI container and will show a child form or type 'FooForm':

\\\
Dim f As New FooForm()
f.MdiParent = Me
f.Show()
///
 
Thanks for the prompt answer. ahem, I just installed the MSDN helper and
you were correct. Thanks again.

BOFH

PS...still makes yer head hurt. It seems the transition from VB6 to .NET
isnt going to be easy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top