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. C#
  4. display mdi childs as tab pages

display mdi childs as tab pages

Scheduled Pinned Locked Moved C#
helpquestion
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.
  • C Offline
    C Offline
    cellardoor0716
    wrote on last edited by
    #1

    I have a MainForm which is MDI parent to all other forms. I want the to display the child forms as tab pages inside the MainForm. Is it possible? Can anyone help me with this please?

    cellardoor

    D 1 Reply Last reply
    0
    • C cellardoor0716

      I have a MainForm which is MDI parent to all other forms. I want the to display the child forms as tab pages inside the MainForm. Is it possible? Can anyone help me with this please?

      cellardoor

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

      You don't need an Mdi setup to do that. It is possible to do in tab pages, though I'm not saying it's a good idea. You will you will not get designer support for this. You have to create your forms as if they were normal, then you have to modify the forms and add them to the appropriate TabPages in your code. There is a hidden little property of a form call TopLevel. Set this property to False, then you can add the form to any container that holds Control objects.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      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