tabcontrol backcolor

  • Thread starter Thread starter Thom
  • Start date Start date
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?)
 
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
 
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/
 
Back
Top