473,889 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tabcontrol loses its background color.

Hi,
I have a VB.NET 2005 application with a standard tabcontrol on it. The
application has the 'VisualStyles' enabled giving it an 'XP' look. For some
reason, the back color of this tabpane has suddenly changed to 'white'. It
used to be the standard 'control grey' color. The XP syle hasn't changed
though, just the color. This is strange because the tab control doesn't even
have a 'back color' property as far as I can see.

Some details:
- The application was converted from the 2003 format, although it has
behaved okay for a long time.
- The problem seems to have occured at some point after I added a third
party dll reference, although I have used this dll before and it should in
know way influence my control styles.
- Turning VisualStyles off returns the tab control to the standard grey
control color, turning it on again makes it go back to white.

Anybody know what has gone wrong or how to fix this?

Regards,

C. Hughes
Oct 2 '06 #1
0 1045

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

Similar topics

3
2421
by: rossum | last post by:
I have a TabControl with a lot of tabs in it. Since it is sometimes difficult to tell which tab is currently active (all the pages have the same layout) I want to be able to highlight which tab is currently active. My first thought was to change the page's background colour, but that just changed the background of the page body, not the background of the page tab at the top. The same happened when I changed the page font to bold, it...
4
29480
by: Noozer | last post by:
I'm using a tabControl on one of the forms of my MS Access database. The grey bar looks pretty bad on my form. Is there any way to change the colour of the tabs or the tab background for the tabControl in MS Access? I'd even resort to an API call if necessary. Thanks! P.s. Anyone else having problems posting to the Microsoft news server?
1
2956
by: TroLoo | last post by:
Hi, I'm fighting with it for a while... How can I change this control's background color (and only background color)? It should be easy and straightforward but I guess it is not... To be precised, I don't want to change TabPage's background :-/ What I mean is the background before any TabPage is added. Sorry for stupid explanation but I run out of ideas and want to avoid
9
3465
by: Michael Turner | last post by:
Hi Guys Having problem with the tab control, I need to set the background color to something different than the standard, I have found code on the web and now can redraw the tabpage buttons so the are set to the right color, I can obviously change the tabpage colour but I am left with a grey top edge(Where there are no buttons) when the background of the form is changed any ideas on what I can do? Mike.
1
3482
by: HS1 | last post by:
Hello I can change the background of each page of a TabControl but cannot change the background (BackColor) of this tabcontrol. I did not see it in the properties page. If you know how to change it please help Many thanks SH1
5
2203
by: Alien2_51 | last post by:
I have a problem with a ListBox control that is on a TabControl, it seems to be forgetting which items are selected in the list when I tab off the current tab, here's my winform code... I even added a click event handler that resets the selected items based on whats in the collection it is data bound to... I'm baffled, pounding my head against the wall, it's not working... Please help... I tried posting the code but it was too long,...
2
4203
by: matt | last post by:
Hi, i'm trying to change the color of the background of a tabcontrol. i put images on the buttons and changed the background of each tabpage, and set the background color or the main tab, but it didn't seem to change this area. Its the area to the right of the last tab to the right edge of the entire tab control. how can i change this? thanks!
3
1818
by: Jean Paul Mertens | last post by:
Hello, Is there a way to change the background color of the tabs in a tabcontrol (there where the name of the tab is and where you click to change to an other tab) I don't see any property or member where I can manipulate the apperance of this region. I changed all mij background but the tabs stay in gray tnx
1
1680
by: C. Hughes | last post by:
Hi, I have a VB.NET 2005 application with a standard tabcontrol on it. The application has the 'VisualStyles' enabled giving it an 'XP' look. For some reason, the back color of this tabpane has suddenly changed to 'white'. It used to be the standard 'control grey' color. The XP syle hasn't changed though, just the color. This is strange because the tab control doesn't even have a 'back color' property as far as I can see. Some details:...
0
9805
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
11188
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...
0
10439
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
9603
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7148
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
5825
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...
0
6025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4644
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
4249
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.