VB.NET 2005 weird quirk in Tab Control, where is windows form generated code

Ok I am taking the plunge to try to keep ahead and downloaded the express edition. I have the 2005 pro edition ordered and will be here soon. I noticed a strange quirk in the tab control. I have the main form as a color of Alice Blue, I then add a tab control and do a full dock in the center. The color of the individual tab pages are "transparant". I also have a status bar at the bottom that is "transparant". The tab pages come up with a grey color even when they are set to "transparant" but the status bar goes Alice Blue as expected. Of course the tab control itself has no color properties I can see. Also how in the @#&@* do you bring up the normal Form Generated Code ? I had to generate a huge error before I could get it to show up. Then after I close it, I could not bring it up again. This should be something that is always there IMO.
reefcrazedAsked:
Who is Participating?
 
JRossi1Connect With a Mentor Commented:
If you are developing in an XP environment do the following:

Right click on the Project Name at the top of the solution explorer and select 'properties'.  Select the 'Application' tab.  Make sure that the 'Enable Application Framework' and 'Enable XP visual styles' are checked.

Hope this helps...
0
 
JRossi1Commented:
At the top of the solution explorer click 'Select All Files'.  This will show the form 'designer' that contains the form generated code.

0
 
reefcrazedAuthor Commented:
Ahh, so the files are indeed split up now. Why didn't I get a memo on that ?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
reefcrazedAuthor Commented:
Any ideas on the color issue ?
0
 
reefcrazedAuthor Commented:
Yes those are checked.
0
 
JRossi1Commented:
Right Click on your Desktop. Select the 'Appearance' tab. Make sure the 'Windows and Buttons' combobox is set to 'Windows XP style'

0
 
reefcrazedAuthor Commented:
Yes they are, I am thinking this is a problem within VB 2005 though, somewhere in the tabcontrol setting.
0
 
JRossi1Commented:
I tested my tab control.  The default setting is Transparent.  But the control was not the gray color of the form.  So I chaged the color to white then back to transparent and it seemed to work.
0
 
reefcrazedAuthor Commented:
Yes true this does make it the "Control Grey" color, but now change our main form to "red", it does not inherit the red color.
0
 
JRossi1Commented:
I think this is a bug in the control.  Only after I change it to a color then back to transparent does it inherit the form's color.
0
 
reefcrazedAuthor Commented:
Yes it does inherit the ugly control grey, but never any other color of the parent form.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.