Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I change the backcolor property tabcontrol? Not tabpage backcolor, or tab backcolor, just the tabcontrol in general.

I've tried different ways.
I just want my tabcontrol so it is translucent

Thanks in advance.
Posted

1 solution

The tab control does not have as backcolor property but the tabpage does. What you might be looking for is to change the color of the tabpage "Tab", the part that you click to move to another tab. That can be modified by overridng the OnPaint method of the tabControl. There are some good examples in CP which demonstrate this technique. Search "Custom tabcontrol". My favorite:
Painting Your Own Tabs - Second Edition[^]

regs
ron O.
 
Share this answer
 
v2
Comments
iProgramIt 17-Mar-15 19:36pm    
I just want a whole, transparent tabcontrol. This has no relevance to my question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900