Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. MDIParent/Children FOrms

MDIParent/Children FOrms

Scheduled Pinned Locked Moved Visual Basic
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jaded_angel
    wrote on last edited by
    #1

    Hey guys i have a form that is called from two different places. its called from the main mdi form and it loads great, but when i call it from another form i need to set that as an MDI Child also dim main as frm_main childform.mdiparent=main does not work. How can i get it to be an mdichild and be called from another child form? thanx :confused:

    L 1 Reply Last reply
    0
    • J jaded_angel

      Hey guys i have a form that is called from two different places. its called from the main mdi form and it loads great, but when i call it from another form i need to set that as an MDI Child also dim main as frm_main childform.mdiparent=main does not work. How can i get it to be an mdichild and be called from another child form? thanx :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      jaded_angel wrote:

      Hey guys i have a form that is called from two different places. its called from the main mdi form and it loads great

      Try to look at the first form. Where it was declare as a child form. After you find its declaration, try to declare the second form as the child form too (at the same place). Then in the first child form if you want to call the second form try this code: dim frmSF as New Secondform frmSF.ShowDialog Try this code and let me know whether it is working or not.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups