Hiding tabpage tabs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dmitry Karneyev

    #1

    Hiding tabpage tabs

    Hi!

    I've made a form with combobox and a tabcontrol.
    Each time the value of combobox changes I need to show only one tabpage from
    tabcontrol.
    It works, but the tabcontrol bookmark of selected tabpage is visible.
    I could be great if it's possible to hide it beacuse this element is useless
    in my case.

    Can anybody help me?


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Hiding tabpage tabs

    Dmitry,

    If by the bookmark of the selected tabpage is visible you mean the tab,
    well, it's supposed to be visible. I think that for what you want to do,
    you should have your controls on separate panels, and then set the
    visibility of the panels based on the selection of the drop-down list.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Dmitry Karneyev" <karneyev@msn.c om> wrote in message
    news:O2kiciGnDH A.2080@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi!
    >
    > I've made a form with combobox and a tabcontrol.
    > Each time the value of combobox changes I need to show only one tabpage[/color]
    from[color=blue]
    > tabcontrol.
    > It works, but the tabcontrol bookmark of selected tabpage is visible.
    > I could be great if it's possible to hide it beacuse this element is[/color]
    useless[color=blue]
    > in my case.
    >
    > Can anybody help me?
    >
    >[/color]


    Comment

    Working...