Tab Controls???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Todd Jaspers

    Tab Controls???

    Hey guys,

    I have a "TabControl " component on my screen. I'd like to be able to
    control the focus of the individual tabs through a different button (which is
    working). However, I would like to be able to prevent the individual
    selection of the tabs from changing. I can't seem to find any feature or
    option on the TabControl that will allow me to disable the tabs at the top.
    Is there any way that I might be able to make the tabs invisible too?

    FYI, I'm using Visual Studio 2005 Standard in C#


    Thanks!

    Todd
  • Mick Doherty

    #2
    Re: Tab Controls???

    Use the Selecting method to prevent a TabPage change.

    You can remove the tabs by altering the TabControls DisplayRectangl e.
    http://www.dotnetrix.co.uk/tabcontrols.html --Add a HideTabs property to
    turn on/off the Tabs

    --
    Mick Doherty
    Dotnetrix offers Nothing. Standard and Premium versions available.



    "Todd Jaspers" <ToddJaspers@di scussions.micro soft.comwrote in message
    news:1C7326E6-48D2-4555-ABC0-6AA5D9C1B832@mi crosoft.com...
    Hey guys,
    >
    I have a "TabControl " component on my screen. I'd like to be able to
    control the focus of the individual tabs through a different button (which
    is
    working). However, I would like to be able to prevent the individual
    selection of the tabs from changing. I can't seem to find any feature or
    option on the TabControl that will allow me to disable the tabs at the
    top.
    Is there any way that I might be able to make the tabs invisible too?
    >
    FYI, I'm using Visual Studio 2005 Standard in C#
    >
    >
    Thanks!
    >
    Todd

    Comment

    Working...