We help IT Professionals succeed at work.
Get Started

Groupbox font versus label font when both have enabled set to false

475 Views
Last Modified: 2013-11-26
I have a group box and a label.  I have both of their enabled properties set to false.  When you display the form, the font in the group box header looks different then the font in the label font.  Why is this?  This is a VB.NET 2005 winform application.  To reproduce this all you need to do is make a new project.  Place a label and a group box on the form.  Give the label some text in design mode and then set both enabled properties to false.  Put the label right above the group box text on the form.  Then run the app.  Notice the difference in the font color I guess is the best word I can come up with.  Why is this?  I noticed this because I have a label in a group box and it was more apparent so I thought I’d try it outside the groupbox.

Any ideas would be greatly appreciated.
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2015
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE