By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,919 Members | 1,625 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,919 IT Pros & Developers. It's quick & easy.

how to set font for grid column header which is being a control of Groupbox control

sujathaeeshan
P: 22
Hi All,

I am doing UI design(form design modifications) not programmatically.

I am facing problem while appplying font to Data grid column .
Here i am placing Data Grid within GroupBox.
When i apply the Group box text font as Arial and bold
this formatting applies to all controls which is placed inside the group box.
But when i try to change the font as MsSanserif and Regular at ColumnheaderDefaultCell property of GridView,it will change at that moment
After saving and closing the form,if i opened that form again it wil be having the the same font which is applied to Groupbox.
But this is not the case for other controls like text box,buttons.
This is only happeneing for GridView Column Header.


Is there any possibolity of having different fonts for Grid column header and Group box Text.?

Is there any way of prventing inheiting property of Grid view control from group box control?



I want this has to be done by UI modification not programmaticaly.....

Please help me out of this problem.

Thankx
Sujathaeeshan
Jun 12 '08 #1
Share this Question
Share on Google+
1 Reply


Dököll
Expert 100+
P: 2,364
Hello, Sujathaeeshan!

It sounds like within a group you should be getting same fonts for items in that group, I could be wrong.

I am not sure of the language you are using (VB6.0, 2005 Express, etc...), perhaps there's a way to to achieve what you need depending on the flavour, let us know.

Dököll
Jun 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.