Tab Control Title Bar Color

Alex_W

Member
Joined
Jan 5, 2009
Messages
22
Programming Experience
Beginner
Hi all,

Does anyone know how to set the title bar color of a tab control (not the tab pages themselves). Theres no property at design time for this.

On Vista the title bar shares the forms' and tab page color and looks fine, when I run the program on a different XP machine it shows a gray bar along the top where the tabs are.

I have found some codes elsewhere on the net but none seem to work. Any help appreciated, cheers.

Alex_W
 
Sure here's what I mean, see the difference in the tab bar?
 

Attachments

  • vista.jpg
    vista.jpg
    42.8 KB · Views: 64
  • XP.JPG
    XP.JPG
    43.6 KB · Views: 61
Tab Color

It is evident from the attached files that the page tabs are not colored but,

1) each of the page has a container (with no border) and background color selected.
2) the selected background is same as the form's background.

Is that alright!

Regards,
Srikanth
 
Thanks for the reply but I have set the tab containers to the same color as the form background. This doesnt seem to change the tab bar along the top which still appears to be system colors (on the XP attachment). Any other ideas?
 
Back
Top