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. Parent/Child Forms

Parent/Child 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

    hi. i have a mdi form with a list box. menu and toolbar on it.i want to open a child form to cover go below the toolbar and cover the list box below. However when i load it, it ends up behind the listbox and if i send the listbox back, when i close the child form the listbox is nowhere to be found what should i do??

    D 1 Reply Last reply
    0
    • J jaded_angel

      hi. i have a mdi form with a list box. menu and toolbar on it.i want to open a child form to cover go below the toolbar and cover the list box below. However when i load it, it ends up behind the listbox and if i send the listbox back, when i close the child form the listbox is nowhere to be found what should i do??

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      This is happening because the child forms are rendered inside another control, called MdiClient, IIRC. Your missing ListView is sitting behind that MdiClient control, which is docked inside the entire client area of the MdiParent form. Basically, what you isn't really possible without tracking if there are any child windows open. What you're going to have to do is send the ListView control to the back when there are child windows open. Then, when the number of child windows falls to 0, bring the ListView to the front. Dave Kreskowiak Microsoft MVP - Visual Basic

      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