473,800 Members | 2,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BackColor of TabControl

Hello,

I want to know if it's possible to set the backcolor or a TabControl (not
the tabpage).

Thank you.
Anson
Nov 20 '05 #1
3 1474
Cor
Hi Anson,
I have seen this question often in this newsgroup.
I have never seen the answer "Yes" and I also don't know how to do it.
I think you have to keep it with the basic Microsoft color "Grey"
Cor
Nov 20 '05 #2
Sorry
But It's possible with the subclassing to redraw your tabs.
I've done that in VB6 but I dont expect to it in .Net
Mick

"Cor" <no*@non.com> a écrit dans le message de news:
3f************* *********@reade r22.wxs.nl...
Hi Anson,
I have seen this question often in this newsgroup.
I have never seen the answer "Yes" and I also don't know how to do it.
I think you have to keep it with the basic Microsoft color "Grey"
Cor

Nov 20 '05 #3
* "Anson Poon" <an***********@ torontosquare.c om> scripsit:
I want to know if it's possible to set the backcolor or a TabControl (not
the tabpage).


Please do not multipost!

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

1
3313
by: Peter Wood | last post by:
Hi, All - I'd like to ba able to change the BackColor on the StatusBar and TabControl from it standard grey to white for a particular app. With all the Drawing capabilities in dotNet it must be possible, and these controls have an overridable BackColor property - can anyone explain or post code on how to go about it? Thanks, Peter
0
1403
by: Paiam Salavati | last post by:
I have to change the BackColor of a TabControl. therefore I have overriden the onPaint-Method of TabControl like this: Rectangle rectangle = new Rectangle(0, 0, this.Width, this.Height); SolidBrush brush = new SolidBrush(Color.YellowGreen); e.Graphics.FillRectangle(brush, rectangle);
1
5878
by: Nick Zdunic | last post by:
The standard Tab Control in .NET doesn't have a BackColor property. I'd like to have the backcolor set to transparent. Set individual Tab Pages Backcolor property doesn't do the job either. Does any one have some code that can do this or a decent free tab control that can do it.
0
2851
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);
2
1810
by: touf | last post by:
hi, What is the control that the vb.net uses for the color selection (forcolor,backcolor,..) in the form design properties. it looks like a combobox that contain a tabControl.
1
2017
by: Beorne | last post by:
I can't change the back color (the color behind the labels) of a tabcontrol. I changed the tabpages color but the tabs have kept the default control color. I don't want to change only the active tab but I want to change all the tabs of the TabContrrol. Thanks.
1
1528
by: Bart Steur | last post by:
Question: Why can't you set the TabControl BackColor in Visual Basic 2005 XE? Any ideas? Regards Bart
1
1355
by: Cartoper | last post by:
I am working in VS2008. I have a TabControl on a form. The background color of the TabControl is not the standard KnownColor.Control color, it is a lighter color. I have placed a TrackBar on the TabControl and it's BackColor is that of the KnownColor.Control. The question is, how do I make the TabControl's backcolor that of the container it is on? Cartoper
0
1097
by: Cartoper | last post by:
I am working in VS2008. I have a TabControl on a form. The background color of the TabControl is not the standard KnownColor.Control color, it is a lighter color. I have placed a TrackBar on the TabControl and it's BackColor is that of the KnownColor.Control. The question is, how do I make the TrackBar's backcolor that of the TabControl it is on? Cartoper
0
9691
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
9551
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
10505
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
10035
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...
1
7580
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6813
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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
3764
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.