Windows Develop Bookmark and Share   
 index > Windows Forms General > Tab Control & Colors
 

Tab Control & Colors

Iused a tab control and changed the background color for each tab. The “Tab Page�color is changed but the “Tab Title�color remains the same. How do I change the color of the Tab Title background?

artificer  Sunday, May 06, 2007 8:26 PM
nobugz  Sunday, May 06, 2007 8:49 PM
Of course, you can use a different brush. Use DrawItemEventArgs.Item to see which tab you are asked to paint.
nobugz  Monday, May 07, 2007 7:57 AM
nobugz  Sunday, May 06, 2007 8:49 PM

Thanks. One aditional question: In the sample the same color is applied to all tabs. Is there any way to have a diferent color for each tab?

artificer  Monday, May 07, 2007 2:39 AM
Of course, you can use a different brush. Use DrawItemEventArgs.Item to see which tab you are asked to paint.
nobugz  Monday, May 07, 2007 7:57 AM
Thanks Again
artificer  Monday, May 07, 2007 7:21 PM

You can use google to search for other answers

Custom Search

More Threads

• file or assembly name not found...
• Linking a variable to ListBox.Items?
• checking status of keys and mouse
• .Net FrameWork
• How to resize rectangle?
• Interchange information between 2 applications
• fd
• can a class derived from label has dashed line borderstyle?
• Urgent: NullReferenceException on the RenderControl method of the new Treeview web server control
• Library for Printing HTML?