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. Windows Forms
  4. child form minimizing Toplevel Form

child form minimizing Toplevel Form

Scheduled Pinned Locked Moved Windows Forms
help
5 Posts 3 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.
  • S Offline
    S Offline
    sri_0099
    wrote on last edited by
    #1

    Hi All, I am loading usercontrols inside form(Pannel).Upon click on button on usercontrol it opens popup(form) which minimizing the toplevel form. The pop up should open above Toplevel form. Any idea please help. I tried by setting TopMost property to true but no luck. Many Thanks, Sri

    A 1 Reply Last reply
    0
    • S sri_0099

      Hi All, I am loading usercontrols inside form(Pannel).Upon click on button on usercontrol it opens popup(form) which minimizing the toplevel form. The pop up should open above Toplevel form. Any idea please help. I tried by setting TopMost property to true but no luck. Many Thanks, Sri

      A Offline
      A Offline
      Atul Kharecha
      wrote on last edited by
      #2

      Try to set this property after displayed by Show() method. That usually fixes it.

      S 1 Reply Last reply
      0
      • A Atul Kharecha

        Try to set this property after displayed by Show() method. That usually fixes it.

        S Offline
        S Offline
        sri_0099
        wrote on last edited by
        #3

        Hello, Thanks for the reply. Which property i need to set. Regards, Sri

        A 1 Reply Last reply
        0
        • S sri_0099

          Hello, Thanks for the reply. Which property i need to set. Regards, Sri

          A Offline
          A Offline
          Atul Kharecha
          wrote on last edited by
          #4

          Same TopMost like below. Dim f As New Form2 f.TopMost = True f.Show() Me.TopMost = True

          I 1 Reply Last reply
          0
          • A Atul Kharecha

            Same TopMost like below. Dim f As New Form2 f.TopMost = True f.Show() Me.TopMost = True

            I Offline
            I Offline
            i i i
            wrote on last edited by
            #5

            i dont think so it will work in MDI i have same problem also if i put one control box or any other container control on MDI form then the child form goes back

            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