Q: Form within form

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
G

Geoff Jones

Hi

Can anybody give me some example code on creating a form within another form
which is centered to the first form?

Thanks in advance

Geoff
 
Geoff Jones,
Try this:

Dim myForm As New Form1
MyForm.TopLevel = False
Me.Controls.Add(myForm)
myForm.Location = New Point(10, 10)
myForm.Visible = True

Actually, I find it's exactly same as MDI application.

Good luck.

Rulin
 

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

Similar Threads

Help With MS Access 4
Q: class 4
Q: moving dashed line 4
sending a message to a thread 4
Example of dragging bitmaps 15
Q: Sending messages 4
Q: closing forms 9
Access Form Refresh 1

Back
Top