TabPage disabling

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

    TabPage disabling

    Hi

    I'm using a TabControl and need to disable a tabpage such that, although it
    is visible, it cannot be selected or viewed in anyway. The text of the tab i
    guess should be "greyed out".

    Any suggestions?

    TIA

    Tony


  • sandman

    #2
    TabPage disabling

    I just went thru this yesterday. There's a bug in the tab
    control that was reported in the KnowledgeBase. The
    Show/Hide functions are not working. You have to manually
    disable all the controls on your tab page. I have mine in
    group boxes and was able to just disable the group box and
    it disabled all the control at the same time. In order to
    programmaticall y select a tab page, you need to set the
    tabcontrol's SelectedTab property to the tab page you want
    to show. The user can still select other pages but the
    controls will be disabled.
    [color=blue]
    >-----Original Message-----
    >Hi
    >
    >I'm using a TabControl and need to disable a tabpage such[/color]
    that, although it[color=blue]
    >is visible, it cannot be selected or viewed in anyway.[/color]
    The text of the tab i[color=blue]
    >guess should be "greyed out".
    >
    >Any suggestions?
    >
    >TIA
    >
    >Tony
    >
    >
    >.
    >[/color]

    Comment

    Working...