PC Review


Reply
Thread Tools Rate Thread

Left Alignment issue with TabConrol

 
 
Scott Ocamb
Guest
Posts: n/a
 
      7th Jul 2009
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.

 
Reply With Quote
 
 
 
 
Mick Doherty
Guest
Posts: n/a
 
      8th Jul 2009

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" <(E-Mail Removed)> wrote in message
news:uZWvyRz$(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Cell alignment, how do I update the default vertical alignment How to update default cell alignment Microsoft Excel Setup 2 4th Feb 2009 03:25 PM
Right-to-left issue (how to default to left-to-right) =?Utf-8?B?SmVlUGVl?= Microsoft Word Document Management 0 21st Oct 2005 02:53 PM
left and right alignment =?Utf-8?B?bGFib290aA==?= Microsoft Word Document Management 1 8th May 2005 09:56 PM
need text alignment to be default "left" when composing =?Utf-8?B?dG9yaQ==?= Microsoft Outlook Discussion 0 24th Jan 2005 04:07 PM
Left & Right Paragraph Alignment =?Utf-8?B?VHJhY3k=?= Microsoft Word Document Management 2 21st Apr 2004 03:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.