You've already forked lazarus-ccr
TvPlanIt: Fix TVpCalendar crashing due to painting Feb 29, 2023
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -188,7 +188,10 @@ begin
|
||||
day := TVpCalendarOpener(FCalendar).clCalendar[I];
|
||||
S := IntToStr(day);
|
||||
|
||||
dt := Encodedate(FCalendar.Year, FCalendar.Month, day);
|
||||
if not TryEncodeDate(FCalendar.Year, FCalendar.Month, day, dt) then
|
||||
exit;
|
||||
|
||||
//dt := Encodedate(FCalendar.Year, FCalendar.Month, day);
|
||||
if Grayed then
|
||||
RenderCanvas.Font.Color := InactiveDayColor
|
||||
else
|
||||
|
Reference in New Issue
Block a user