Controlling Tab appearance

How can one make a tabs in a Tab/Control disabled or invisible  There are no Enabled or Visible properties like you'd expect from other controls

Answer this question

Controlling Tab appearance

  • Elkana

    Curious that this isn't possible (as far as I strumbled through the help) It would be the most simple way to implement a wizzard type of control or something simular. Of course this could be implemented with some other collection of windows, but this looks like an interesting option to add to the Tab Control.

    Related, though the alignment can be set to Left or Right, I couldn't find a way to orient the text upward (most natural for Left) or downward (for right), (which is text-angle 90 / -90 degrees). Topdown text (single character downwards) in either case is also an option of course, but not my preference.

  • amy0625

    Invisible = Remove.
    Disabled = DrawStyle-->OwnerDrawFixed and draw the TabItems yourself using ControlPaint.DrawStringDisabled to draw the text.

    You might like to take a look at some of my vb.net examples here:
    http://homepage.ntlworld.com/mdaudi100/alternate/tabcontrols.html

  • Controlling Tab appearance