Windows Develop Bookmark and Share   
 index > Windows Forms General > how to change font color on tabpage
 

how to change font color on tabpage

Hi,

this is probably just a simple question, but I cant figure it out.

I want to change my tabpage font color when it is selected tab. Raised an selectedindex changed event but cant change tabpage font color.. How can I do this ?? I just to want change font color that as specified in text property of tabPage ...

thanx.

metin ergöktaş  Thursday, November 23, 2006 2:08 PM

Selected Index will help in changing Font of the tab page but it will work for client area of the page only but not the node heads, Try to put some cntrols on tab pages and try to change the Font of selected tab you'll see results that each control in selected Tab page will update its font to the new one.

For changing the font of heads of the TabControl, you need to Owner draw tab control, There are many samples available on the internet which draw the heads of the TabControl, you need to do that and which is the only way to change the Font of Heads....

Best Regards,

Rizwan

RizwanSharp  Thursday, November 23, 2006 2:49 PM

You can use google to search for other answers

Custom Search

More Threads

• Is there anyway to open child form from other child form?
• problem in writing property in user-control ???
• Update custom control at design time when property changed
• Addding multiple words together
• How to do indeterminate progress bar?
• How to make the end of TextBox.Text in view?
• Module based system, need advise
• ListView bug
• How to make drop-down menu of Toolbar?
• How Could I protect my application ?