Left Alignment issue with TabConrol

Discussion in 'Microsoft Dot NET Framework Forms' started by Scott Ocamb, Jul 7, 2009.

  1. Scott Ocamb

    Scott Ocamb Guest

    All,
    I have a TabControl with Allignment set to left. This results in the tabs
    being verticaly aligned.

    All is fine on Vista machines, but "it seems" on xp machines the rendering
    of the UI is wrong. The text of the tabs does not appear.

    any help would be appreciated.
     
    Scott Ocamb, Jul 7, 2009
    #1
    1. Advertisements

  2. Scott Ocamb

    Mick Doherty Guest

    It's a known issue. The Text is drawn but in the wrong place. It's not
    classed as a bug as Visual styles only supports Top Aligned Tabs.

    Either draw the tabs yourself (you'll either lose Visual Styles or have a
    fair amount of work restoring them) or use a third party TabControl instead.
    See some of the tips on my site for the basics of ownerdrawing the
    tabcontrol.
    http://dotnetrix.co.uk/tabcontrol.htm

    TabControlEx and TabControl 2 are free to use in any way you wish and they
    both overcome this issue as well as several others.
    http://dotnetrix.co.uk/controls.htm

    If you only want to overcome this issue, then I would suggest that you use
    TabControl 2, but TabControlEx has some other frequently requested features
    which you may or may not like.

    "Scott Ocamb" <> wrote in message
    news:uZWvyRz$...
    > All,
    > I have a TabControl with Allignment set to left. This results in the tabs
    > being verticaly aligned.
    >
    > All is fine on Vista machines, but "it seems" on xp machines the rendering
    > of the UI is wrong. The text of the tabs does not appear.
    >
    > any help would be appreciated.
     
    Mick Doherty, Jul 8, 2009
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul K

    Label text-alignment problems???

    Paul K, Jul 25, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    503
    Paul K
    Jul 25, 2003
  2. Joe White

    Re: TextAlign to any Right Alignment in lables problem

    Joe White, Aug 5, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    340
    Joe White
    Aug 5, 2003
  3. Abdolhosein Vakilzadeh Ebrahimi

    Slow ListView while Alignment is TOP

    Abdolhosein Vakilzadeh Ebrahimi, Aug 26, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    237
    Abdolhosein Vakilzadeh Ebrahimi
    Aug 26, 2003
  4. Guest

    TabControl wiht Alignment left and horizontal Text

    Guest, Feb 10, 2005, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    4,386
    Mick Doherty
    Feb 10, 2005
  5. Guest

    TabControl Alignment Issue

    Guest, Sep 25, 2005, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    262
    Guest
    Sep 25, 2005
Loading...

Share This Page