Groupbox w/ Bold setting issue

I like using a groupbox because it has a header text associated with it.  However, I want the header text to be bold but I don't want to automatically enable bold for all controls inside the groupbox.

The current one I just created has a datagridview, multiple labels and textboxes in it but it only automated the datagridview as bold.  When I modify the datagridview to remove the bold settings, the rebuild of the application sets it back to bold.

Very disturbing.  I would use a panel but then I have to create a separate label to accomodate the need for the header text.

Am I missing something where there is a setting that will disallow the bold setting for controls inside the groupbox ?


Sincerely,
Phil Tate
TSFLLCAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CodeCruiserCommented:
Because the purpose of the groupbox is to group a number of controls into one bundle to make it easy to process them, any changes applied to groupbox are inherited by the controls inside. These include the font, visible etc.
A custom control is created at the following link and might be useful for you.
http://codeguru.earthweb.com/vb/controls/vb_othctrl/ocxcontrols/print.php/c15325__1/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.