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. tab appearance in c#

tab appearance in c#

Scheduled Pinned Locked Moved C#
questioncsharp
3 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.
  • T Offline
    T Offline
    Thaer Hamael
    wrote on last edited by
    #1

    hello I want to ask a question,, I add a tab and i want to show some of it's tabpages and to disappear the other, the tabpages has no such property as visible or enable. how i can do it?

    Thaer

    C L 2 Replies Last reply
    0
    • T Thaer Hamael

      hello I want to ask a question,, I add a tab and i want to show some of it's tabpages and to disappear the other, the tabpages has no such property as visible or enable. how i can do it?

      Thaer

      C Offline
      C Offline
      Calla
      wrote on last edited by
      #2

      Initially I thought that the Show and Hide methods of TabPage would do the trick, but it doesn't seem that way. You could probably achieve what you want to do by first creating your TabPage objects and then call TabControl.Add and TabControl.Remove to add/remove (show/hide, enable/disable) the tab pages you want. This is not the most elegant solution though, but it will solve your problem :) Good luck!

      1 Reply Last reply
      0
      • T Thaer Hamael

        hello I want to ask a question,, I add a tab and i want to show some of it's tabpages and to disappear the other, the tabpages has no such property as visible or enable. how i can do it?

        Thaer

        L Offline
        L Offline
        Lyon Sun
        wrote on last edited by
        #3

        Interesting. Do you mean you don't need so many tabs? Cuz, first, when one tab is showing, the others are hiding; second, tab pages can be removed if not needed. ;)

        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