You've already forked lazarus-ccr
tvplanit: Print GanttView in multiple pages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -918,10 +918,13 @@ end;
|
||||
the number of day columns in the view. }
|
||||
function TVpGanttView.GetNumDays: Integer;
|
||||
begin
|
||||
Result := 0;
|
||||
if (FRealStartDate <> NO_DATE) then
|
||||
Result := trunc(FRealEndDate) - trunc(FRealStartDate) + 1
|
||||
else
|
||||
Result := 0;
|
||||
begin
|
||||
Result := trunc(FRealEndDate) - trunc(FRealStartDate) + 1;
|
||||
if Result < 0 then
|
||||
Result := 0;
|
||||
end;
|
||||
end;
|
||||
|
||||
{ Determines the number of events (= rows) to be displayed in the GanttView. }
|
||||
|
Reference in New Issue
Block a user