tabcontrol backcolor

T

Thom

Is there a simply way to avoid the standard "BackColor" of
the TabControl?
I mean, if you put on a form a TabControl with one
TabPage. Set the BackColor of the form and of the TabPage
to, say, Blue.
You will still have the "tab zone" of the TabControl to be
colored by SystemColor.Control
Can we change that? Is there a property somewhere I missed?
Do we have to do that manually using GDI methods? (if so,
does somebody has some code or tricks?)
 
P

Pete

I remember seeing something about it on codeproject (getting the windows xp
style on tab controls), but I seem to remember that it had problems.

-- Pete
 
H

Herfried K. Wagner [MVP]

Hello,

Thom said:
Is there a simply way to avoid the standard "BackColor" of
the TabControl?
I mean, if you put on a form a TabControl with one
TabPage. Set the BackColor of the form and of the TabPage
to, say, Blue.
You will still have the "tab zone" of the TabControl to be
colored by SystemColor.Control
Can we change that? Is there a property somewhere I missed?
Do we have to do that manually using GDI methods? (if so,
does somebody has some code or tricks?)

Have a look at the Magic Library's TabControl (sourcecode available):

http://www.dotnetmagic.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top