?
Solved

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

Posted on 2006-05-19
11
Medium Priority
?
275 Views
Last Modified: 2011-09-20
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.
0
Comment
Question by:reefcrazed
  • 6
  • 5
11 Comments
 
LVL 6

Expert Comment

by:JRossi1
ID: 16721279
At the top of the solution explorer click 'Select All Files'.  This will show the form 'designer' that contains the form generated code.

0
 

Author Comment

by:reefcrazed
ID: 16721324
Ahh, so the files are indeed split up now. Why didn't I get a memo on that ?
0
 

Author Comment

by:reefcrazed
ID: 16721328
Any ideas on the color issue ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 6

Accepted Solution

by:
JRossi1 earned 750 total points
ID: 16721399
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
 

Author Comment

by:reefcrazed
ID: 16721468
Yes those are checked.
0
 
LVL 6

Expert Comment

by:JRossi1
ID: 16721497
Right Click on your Desktop. Select the 'Appearance' tab. Make sure the 'Windows and Buttons' combobox is set to 'Windows XP style'

0
 

Author Comment

by:reefcrazed
ID: 16721506
Yes they are, I am thinking this is a problem within VB 2005 though, somewhere in the tabcontrol setting.
0
 
LVL 6

Expert Comment

by:JRossi1
ID: 16721549
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
 

Author Comment

by:reefcrazed
ID: 16721572
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
 
LVL 6

Expert Comment

by:JRossi1
ID: 16721591
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
 

Author Comment

by:reefcrazed
ID: 16721614
Yes it does inherit the ugly control grey, but never any other color of the parent form.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question