TabControl BackColor - can it be done and how? Let's settle it once and for all
-
Did anyone override the TabControl in a good way to be able to give it a custom background color? I have a specific background color used in my entire application so of course I want the tab control to be this color as well, but it doesn't seem to be easy to accomplish. Did anyone do it in .NET? Also what is the reason it is restricted so much by windows? I mean it cannot be so hard to allow for a tab control to have a different background color after all... regards, Bjorn
-
Did anyone override the TabControl in a good way to be able to give it a custom background color? I have a specific background color used in my entire application so of course I want the tab control to be this color as well, but it doesn't seem to be easy to accomplish. Did anyone do it in .NET? Also what is the reason it is restricted so much by windows? I mean it cannot be so hard to allow for a tab control to have a different background color after all... regards, Bjorn
Please gothrough my article. That will surve your purpose.:-D Sreejith Nair [ My Articles ]
-
Please gothrough my article. That will surve your purpose.:-D Sreejith Nair [ My Articles ]
Thanks, it's a good start, however I don't want only the tab labels to be custom drawn but also the entire edges around the control. The DrawItem event is only received for each tab as far as I can see... /Bjorn