473,513 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text on TabControl tabs not displaying correctly

I found that on my laptop running my programs that have the forecolor set to
ControlText will not display correctly. I have the font set to Verdana 9pt
and bold (although it doesn't seem to matter which font I use). But the
letters are all messed up. Some of the parts of the letters will look bold
others will not and have a wierd shadow to them. On my desktop they look
fine.

If I change the forecolor to ActiveCaptionText - it looks fine. Except for
the TabControl Tabs. I have to set the Forecolor in the TabPages collection
area but that doesn't seem to have any effect on it.

How do I get the tab text to display correct???

Thanks,

Tom
Nov 9 '07 #1
2 1916
Turns out the problem is that I was using Toshibas Screen Display Theme.
When I used the WindowsXP theme, the letters looked fine when using
ControlText. And when using ActiveCaptionText, the letters were white.

How can I make it so that my letters will look right under any theme?

Still not sure why the TabPages didn't work at all.

Tom
"tshad" <tf*@dslextreme.comwrote in message
news:Oj**************@TK2MSFTNGP04.phx.gbl...
>I found that on my laptop running my programs that have the forecolor set
to ControlText will not display correctly. I have the font set to Verdana
9pt and bold (although it doesn't seem to matter which font I use). But
the letters are all messed up. Some of the parts of the letters will look
bold others will not and have a wierd shadow to them. On my desktop they
look fine.

If I change the forecolor to ActiveCaptionText - it looks fine. Except
for the TabControl Tabs. I have to set the Forecolor in the TabPages
collection area but that doesn't seem to have any effect on it.

How do I get the tab text to display correct???

Thanks,

Tom

Nov 9 '07 #2
How can I make it so that my letters will look right under any theme?

Probably only by using Images as everything. This would be a
maintenance nightmare, disable localization, add size to projects, and
very inadvisable. IMO, people who run non-XP or Vista themes (such as
Window Blinds) should expect to have some difficulties. And those
difficulties are their responsibilities. It's like the old saying that
20% of the work is spent satisfying 80% of your users. Not that the
other 20% of the user aren't important, but they aren't worth spending
large amounts of time/money making massive changes that hurt the
entire system. IMO, you should try to solve the problems for most of
the 20%, and just forget about the others.

Thanks,

Seth Rowe

Nov 9 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2840
by: Paiam Salavati | last post by:
I have to change the BackColor of the unused part to the right of the tabs in a TabControl. therefore I have overriden the onPaint-Method of TabControl like this: protected override void...
7
4196
by: Andrew McKendrick | last post by:
Hi, I've noticed a bug in VB.NET (latest .NET Framework)... - I have a TabControl on a form with several tabs. - Each tab contains text boxes that are bound to fields in a data source...
2
3423
by: michael sorens | last post by:
After extensive searching of the docs, I find no mention of support for Ctrl-Tab and Ctrl-Shift-Tab to navigate among tabs in a TabControl. I am surprised that such a common/standard keyboard...
3
3963
by: =?Utf-8?B?U3RldmVU?= | last post by:
I want to create tabs in the TabControl that are aligned on either the right or left side, but no text shows when doing this. Is there an issue here or a work around. Text for tabs on top or...
2
2618
by: Richard Carpenter | last post by:
I have a four-page tabcontrol with a gridview on each page. I have the primary key column of each gridview set to hidden (visible = false), but it still shows up on all but the first page. Anyone...
2
2904
by: Jeff | last post by:
..NET 2.0 How do I in the DrawItem event of a TabControl measure how wide the area displaying TabPage.Text need to be?? For example I've got a tabpage with the text property set to "hello...
2
2772
by: Gav | last post by:
I am writing an application where I will have a TabControl and 3 styles of Tabs to go in it, each containing different controls. The tabs will be added to the tabcontrol when items are clicked on...
2
1539
nev
by: nev | last post by:
i have a tabcontrol with 2 tabs. in my datasources pane i have a table with 4 columns -- col1, col2, col3 & col4. now i drag n drop col1 in tab1 & col2 in tab2 as bound textboxes. i place col3 &...
2
2103
by: Jamey | last post by:
Ran into an inconvenience with TabControls yesterday. I found a partial explanation from Allen Browne on the MS message boards explaining when it happens, but not why. I thought Stephen Lebans...
0
7177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5701
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4756
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3248
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.