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. Remove tab captions ?

Remove tab captions ?

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

    2. TabPage control without page captions I have C# .NET 1.1 Winforms appication. I use Toolstrip buttons to select pages in TabPage Control. To save window space, I need to remove page captions. Pages should appear without caption in Tab control. I set tabpage Text properties to empty strings but empty page captions are still present. How to remove tab captions from TabPage pages ?

    Andrus

    M S 2 Replies Last reply
    0
    • A AndrusM

      2. TabPage control without page captions I have C# .NET 1.1 Winforms appication. I use Toolstrip buttons to select pages in TabPage Control. To save window space, I need to remove page captions. Pages should appear without caption in Tab control. I set tabpage Text properties to empty strings but empty page captions are still present. How to remove tab captions from TabPage pages ?

      Andrus

      M Offline
      M Offline
      Martin 0
      wrote on last edited by
      #2

      Hello, I think it would be easier to remove the TabPage from the TabPages Collection, hold the instance, and if you whant to show it, add it again. All the best, Martin

      1 Reply Last reply
      0
      • A AndrusM

        2. TabPage control without page captions I have C# .NET 1.1 Winforms appication. I use Toolstrip buttons to select pages in TabPage Control. To save window space, I need to remove page captions. Pages should appear without caption in Tab control. I set tabpage Text properties to empty strings but empty page captions are still present. How to remove tab captions from TabPage pages ?

        Andrus

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

        It works fine with C# .NET 2.0, but are you sure that it is not only that you has not redrawn the form? It might be an .Invalidate() call missing. Have you tried changing them in run-time to other strings? If empty strings does not work, try using one-space strings instead " ", might give you similar result.

        Internet - the worlds biggest dictionary

        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