[CLOSED] TVpMonthView Custom draw lazarus / 21-General ---------------------------------------------------------------------- pcurtis · 2022-10-18 09:11 How do I change the background colour of individual cells in TVpMonthView? ---------------------------------------------------------------------- wp · 2022-10-18 10:31 TVpMonthView is not prepared for individual cell colors. There are only these types of color: - Color: general background color - WeekendAttributes.Color: the background colors of the weekend days (Sa, So) - HolidayAttributes.Color: the background color of holidays. Holidays are queried by means of the OnHoliday event. - OffDayColor: background color of "overflow" days, i.e. days of the previous or next month reaching into the current month. Maybe, if you don't use holidays, you could abuse this feature to give some selected dates a special color. All of these days will have the same color, though. Alternatively you could use the OwnerDrawCells event to completely paint the day cells on your own. I've never done this myself, and thus cannot comment on the amout of work involved (because you must also paint the events). ---------------------------------------------------------------------- pcurtis · 2022-10-19 09:15 Ok. Thanks.