Tab Click in VB.Net

G

Guest

How do I change the background or foreground color of a tab in a Tab control?
I do't want to change the entire page; just the title of the tab page.
 
M

Mick Doherty

See the very first example on my site:
http://www.dotnetrix.co.uk/controls.html --> How to Change the colours of a
Tabcontrols Header Item.

....or use TabControlEx. Set the Tabpage BackColor/ForeColor and the tab will
inherit it (unless Visual styles are in use) or change the
TabColor/SelectedTabColor properties if you want the tabs to have a
different color to its associated TabPage.
 

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