10888 : I would like to apply a vertical stripe to a specific day (or days)
…In the implementation of the OnTimeItemAreaPaintBackground event int numberOfDaysOnScreen=Round(Gantt.StopTime-Gantt.StartTime) for i=0 to numberOfDaysOnScreen-1 do begin DateTime oneDay=Gantt.StartTime+i Color c=GetColorForThisDay(oneDay) int PixelForStartOfDay=Gantt.DateScaler.TimeToPixel(Trunc(oneDay)) int PixelForEndOfDay=Gantt.DateScaler.TimeToPixel(Trunc(oneDay)+1) DrawColoredRectangle(PixelForStartOfDay,0,PixelForEndOfDay,Gantt.Height) end … Continue reading