How can I change the background color of a Tab Control. I changed the forms color, but the tabs stay the same.
Thanks.
Basically, the color of the tabs can be controlled using the Pressed Color property. Look for it in the properties of the entire tab object, not the properties of individual tabs. This means, setting Pressed Color to - for example - some kind of blue (say, #8EA3BD) makes all tabs blue.
Check the Back Style of the Tab Control. If it's Normal. you'll get a gray background (with normal Windows settings). If it's Transparent then it will inherit the background colour of the form.
If you want it to be an entirely different colour, you might have to add a rectangle to the form (make the background non-transparent), maximise it within the tab and then set the colour of the rectangle.
As for the tabs them selves, I don't see a way of setting their colour independently.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With