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. 'Deck of cards' tab-like functionality

'Deck of cards' tab-like functionality

Scheduled Pinned Locked Moved Windows Forms
data-structuresdesignjsonquestion
4 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.
  • S Offline
    S Offline
    span237
    wrote on last edited by
    #1

    I'm looking to design a windows form application. My idea for the interface is to have a tree view on the left of my form as a menu structure to navigate between functions and the rest of the form to display the different 'screens'. Basically what I'm imagining is something that resembles a deck - a vertical stack of screens where only one is visible at a time, similar to a TabControl but without the actual tabs. My first attempt involved using Panels, but I couldn't switch between the panels in the design view. Is this sort of functionality possible? if so, any ideas would be greatly appreciated.

    S 1 Reply Last reply
    0
    • S span237

      I'm looking to design a windows form application. My idea for the interface is to have a tree view on the left of my form as a menu structure to navigate between functions and the rest of the form to display the different 'screens'. Basically what I'm imagining is something that resembles a deck - a vertical stack of screens where only one is visible at a time, similar to a TabControl but without the actual tabs. My first attempt involved using Panels, but I couldn't switch between the panels in the design view. Is this sort of functionality possible? if so, any ideas would be greatly appreciated.

      S Offline
      S Offline
      Som Shekhar
      wrote on last edited by
      #2

      Extend a TabControl. Call it say CustomTabControl. The idea is to remove the tabs. So, you get the functionality you want. There are many articles here on how to have custom tab controls. You basically need to tweak following properties. ItemSize = (0, 1) SizeMode = TabSizeMode.Fixed Appearance = TabAppearance.Buttons

      S 1 Reply Last reply
      0
      • S Som Shekhar

        Extend a TabControl. Call it say CustomTabControl. The idea is to remove the tabs. So, you get the functionality you want. There are many articles here on how to have custom tab controls. You basically need to tweak following properties. ItemSize = (0, 1) SizeMode = TabSizeMode.Fixed Appearance = TabAppearance.Buttons

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

        That seems to do what I wanted. Thanks!

        S 1 Reply Last reply
        0
        • S span237

          That seems to do what I wanted. Thanks!

          S Offline
          S Offline
          span237
          wrote on last edited by
          #4

          In my searching I also found a PanelManager created by Mick Doherty: http://dotnetrix.co.uk/custom.htm[^] It works similarly, but provides easer navigation between panels.

          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