Custom control with label - change
Posted on 2009-12-18
I have a question that hopefully someone can hopefully assist with...
I have a Windows application and a CustomControl on that application. The custom control is for a fully name. So, it will display a label of "First name" and a textbox field for it. Then it will have a "Last name" label and a textbox field for it.
My question is there is one area where I want to change the font of the control to bold BUT that will change the labels to bold as well. I don't want that. I want the values in the textbox to be bold but I want the labels to be normal.
What I was thinking was that I change the font of the control (when used in this instance) to bold and THEN change the font of the labels in the custom control to not be bold.
If there a way to achieve that?
Any assistance on that aspect would be greatly appreciated.