By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

Setting form backcolor in code leaves part of tabcontrol at default colour

P: 28
In vs2012 I have a form with a tabControl on it.

If I set the form backcolor to some colour in the form designer the tabcontrol area to the right of the tabs takes for the form's backcolor, as expected.

However, If I set the form's backcolor to a colour in code (e.g. in the Load Event) that area of the tabcontrol remains at the default colour, and looks a bit silly as a greyish bar. As the tabcontrol doesn't have a backcolor property (as opposed to the tabpages) I'm reached the end of my attempts to overcome the problem.

Has anyone else experienced this and found a solution, please?
Sep 19 '12 #1
Share this Question
Share on Google+
1 Reply

P: 1
I have the same problem in VB6 (yeah i but our company has a CRM that is still in VB6. Small changes like this we still do.) would be great if there was a fix or workaround.
Nov 20 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.