473,672 Members | 2,847 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 ActiveCaptionTe xt - 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 1920
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 ActiveCaptionTe xt, 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******** ******@TK2MSFTN GP04.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 ActiveCaptionTe xt - 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 responsibilitie s. 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
2846
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 OnPaint(PaintEventArgs e) { base.OnPaint(e);
7
4206
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 (DataBindings). - When I display a record and then try to access the .Text property of one of the text boxes on any tab except the current tab, the result is an Empty string.
2
3433
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 navigation is not provided. Or am I just missing it...?
3
3974
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 bottom are just fine. I'm using VS 2005. -- ----------- Thanks, Steve
2
2630
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 else see this behavior? How might I correct it?
2
2910
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 world", when I run this code it only displays "hello wo" any suggestions on how to fix this are most welcome
2
2777
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 in a TreeView. So the the application starts by displaying no tabs and adds them in as required. There could be any number of each tab (0 upwards). What is the best way of me doing this? Should I create 3 custom controls that extend TabPage?...
2
1548
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 & col4 on my form. when i run the program, everything's cool. i can navigate the records and all textboxes display the correct data. i click the tabs and everything's fine. now what i'll do is to programatically display a tab based on the value of...
2
2113
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 (who's done a little work with this for his multi-colored listbox class), or someone else might've figured this out. Here's the scenario: DBs created on Windows XP using A2K7 are apparently incapable of displaying TabControl transparency....
0
8504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8419
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8945
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8643
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8697
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5720
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4242
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2837
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 we have to send another system
2
2093
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.