Link to home
Start Free TrialLog in
Avatar of rbichon
rbichon

asked on

MonthCalendar: Update Bolded Dates without returning home

When a bolded date is added with AddBoldedDate, the date doesn't appear bold unless the display range changes. But if I use UpdateBoldedDates, the display range changes back to the original range that was visible when the exe started. Can anyone tell me how to add a bold date so that it is immediately visible and so that the screen does not revert back to the home position? Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rbichon
rbichon

ASKER

Again, that resets the calendar to the original display range. How do I keep it from doing that?
This works fine and it keeps the actual date selecte.

 MonthCalendar1.AddBoldedDate(Now.AddDays(25))
 MonthCalendar1.UpdateBoldedDates()
Avatar of rbichon

ASKER

That is only if you haven't changed the display range. I show 6 months. If you go past that to 12 months ahead and then run the UpdateBoldedDates, it will bring you back to the initial screen.
Avatar of rbichon

ASKER

Nevermind. This control seems to be very limited.