Web Analytics Made Easy -
StatCounter VB: A form within a form? - CodingForum

Announcement

Collapse
No announcement yet.

VB: A form within a form?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB: A form within a form?

    Hello all,

    I recently came across this application that almost has a form within a form. You can move the windows around and it will NOT go out of the main frame. Does anyone know how this is done?

    Also, the program has the option to detach from main window. Does anyone know how this is done?

    Thanks.

    EDIT:
    Found an example: http://www.techotopia.com/index.php/...Basic_MDI_Form

    Tried using the code but it wont work in VB 2008

    EDIT 2:
    Found the problem, I had to make an MDI Form, and then include normal forms into the MDI form using the following code:

    normalform.MdiParent = Me
    normalform.Show()
    Last edited by UnrealEgg; Apr 15, 2009, 01:13 PM. Reason: working =)
Working...
X