0

Hi

I am trying to set a larger calendar font (Calendarfont) for a Datetimepicker control, but vb.net (2010) doesn't seem to use/honor it. It remains the same (very small) regardless of the font/size I choose.

Have also tried changing it in program on the onload of my form but that doesn't change anything either.

Any ideas why?

Thanks,
Scott

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by Pgmer
0

Set the font you want in the prorties of control at design time.
I just checked in VS2005 it worked for me.

0

Ok, I think I have figured out why, but the solution is not a good one. On this page MS states that its due to visual styles and to get the calendar font to work you must disable xp visual styles. But that makes everything look like you're back on Win 95.

Is there any other way to override the calendar font size somehow?

0

On my Windows 7 it works perfect... I selcted the big font for date time in design time.. in ru time also it retains that font good. :)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.