programatically set the color to tab control

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

How do you programatically set the color of the tab control to oldlace, for
example?
It seems as though this should be easy but I'm having trouble getting past
this.

Thanks,
Mike
 
You have to set the tabpage backcolor:

For i As Integer = 0 To TabControl1.TabPages.Count - 1
TabControl1.TabPages(i).BackColor = Color.OldLace
Next

hth Greetz Peter
 
Peter, your code is only changing the individual tab pages. I need to
change the color of the tabs themselves. Thanks,
mike
 

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

Back
Top