Calendar Control 10.0 problem

G

Guest

I'm writing a Reminder app in VB.NET that uses the Calendar Control 10.0 for the user to select a date and view the reminders for that day (using a Flexgrid). I want to make bold, or a different color (using my own calculations from an Access database and SQL) the days on the calendar control that have reminders on them. I've looked everywhere, and can't seem to find an answer on how to edit the color/font of ONE cell/date of the Calendar Control 10.0. Any help is greatly appreciated.

KD
 
W

William LaMartin

Interestingly the Calendar control used in Web Forms has the DayRender event
where you can put code to control what is displayed for a particular cell,
but I seen nothing like that for the Windows Form control (which does not
mean that it isn't there).

You can use Me.MonthCalendar1.AddBoldedDate(Now) to make today's date bold,
so I assume you can use AddBoldedDate to make whatever dates you want bold.
To change the font or color of a particular cell, I am at a loss for that
right now.

KDenney said:
I'm writing a Reminder app in VB.NET that uses the Calendar Control 10.0
for the user to select a date and view the reminders for that day (using a
Flexgrid). I want to make bold, or a different color (using my own
calculations from an Access database and SQL) the days on the calendar
control that have reminders on them. I've looked everywhere, and can't seem
to find an answer on how to edit the color/font of ONE cell/date of the
Calendar Control 10.0. Any help is greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top