VB.NET: Coloured in MonthCalendar

toytoy

Well-known member
Joined
Jul 16, 2004
Messages
46
Programming Experience
1-3
Does anyone know how to highlight the dates in different colours using the MonthCalendar...

I have ask it in many forums but none of them know...

They know only how to bold the dates in the Monthcalendar..

I want to ask if it is not possible to highlight and colour the dates, how about give the bold dates a different colour..

Thanks
 
The monthCalendar is not very configurable. You can subClass the control, but then you would have to do your own drawing.

The highlighted dates BackColor (the oval) is set by the property 'TitleBackColor' (default is the system color ActiveCaption) and the ForeColor is set by the property 'TitleForeColor' (default is ActiveCaptionText). Of course, changing these properties also affects the TitleBar where the month name and year is displayed.
 
Back
Top