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
  1. Home
  2. General Programming
  3. Visual Basic
  4. MDI Apps problems

MDI Apps problems

Scheduled Pinned Locked Moved Visual Basic
questioncsharp
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.
  • F Offline
    F Offline
    fume
    wrote on last edited by
    #1

    Im a newbie when it comes to .Net technologies. Right now I am developing an MDI application using VB.Net. So this is my first .NEt project. first question: ... why is that when the child form is being closed using the control menu (control box), the next time i click the menu item that should make the child form show up again, it won't show anymore?.... here's the code behind the menu item: Private Sub mnuRR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuRR.Click If RRChild Is Nothing Then RRChild = New frmReceivingOrders(Me) End If RRChild.Show() End Sub * RRChild is the child form * mnuRR is the menu item of the parent form ... tnx:) .. here we go again.

    P 1 Reply Last reply
    0
    • F fume

      Im a newbie when it comes to .Net technologies. Right now I am developing an MDI application using VB.Net. So this is my first .NEt project. first question: ... why is that when the child form is being closed using the control menu (control box), the next time i click the menu item that should make the child form show up again, it won't show anymore?.... here's the code behind the menu item: Private Sub mnuRR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuRR.Click If RRChild Is Nothing Then RRChild = New frmReceivingOrders(Me) End If RRChild.Show() End Sub * RRChild is the child form * mnuRR is the menu item of the parent form ... tnx:) .. here we go again.

      P Offline
      P Offline
      palace
      wrote on last edited by
      #2

      This is how I've opened my MDI child forms. Dim RRChild as New frmReceivingOrders RRChild.MdiParent=Me RRChild.Show() Hope this helps Cheers PL :)

      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