You've already forked lazarus-ccr
tvplanit: Cosmetic changes and some refactoring in unit VpPrtFmt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -31,6 +31,10 @@ msgstr "Turbo Power VisualPlanIt Demo"
|
|||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Sprache"
|
msgstr "Sprache"
|
||||||
|
|
||||||
|
#: tmainform.label2.caption
|
||||||
|
msgid "Visible days"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: tmainform.rballtasks.caption
|
#: tmainform.rballtasks.caption
|
||||||
msgid "All tasks"
|
msgid "All tasks"
|
||||||
msgstr "Alle Aufgaben"
|
msgstr "Alle Aufgaben"
|
||||||
|
@ -21,6 +21,10 @@ msgstr ""
|
|||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: tmainform.label2.caption
|
||||||
|
msgid "Visible days"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: tmainform.rballtasks.caption
|
#: tmainform.rballtasks.caption
|
||||||
msgid "All tasks"
|
msgid "All tasks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2080,9 +2080,7 @@ end;
|
|||||||
|
|
||||||
procedure TVpDayView.SetNumDays(Value: Integer);
|
procedure TVpDayView.SetNumDays(Value: Integer);
|
||||||
begin
|
begin
|
||||||
if (Value <> FNumDays)
|
if (Value <> FNumDays) and (Value > 0) and (Value < 31) then begin
|
||||||
and (Value > 0)
|
|
||||||
and (Value < 31) then begin
|
|
||||||
FNumDays := Value;
|
FNumDays := Value;
|
||||||
SetLength(dvColRectArray, FNumDays);
|
SetLength(dvColRectArray, FNumDays);
|
||||||
SetTimeIntervals(Granularity);
|
SetTimeIntervals(Granularity);
|
||||||
@ -3796,6 +3794,7 @@ var
|
|||||||
{ Clean Up }
|
{ Clean Up }
|
||||||
finally
|
finally
|
||||||
try
|
try
|
||||||
|
SetLength(EventArray, 0);
|
||||||
FreeBitmaps;
|
FreeBitmaps;
|
||||||
finally
|
finally
|
||||||
{ restore canvas color and font }
|
{ restore canvas color and font }
|
||||||
@ -3807,7 +3806,7 @@ var
|
|||||||
OldBrush.Free;
|
OldBrush.Free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end; // DrawEvents (begins at line 2832 . OMG: 1000 lines per local proc!!!)
|
end; // DrawEvents (begins at line 2832 . OMG - 1000 lines per local proc!!!)
|
||||||
|
|
||||||
procedure DrawCells(R: TRect; ColDate: TDateTime; Col: Integer);
|
procedure DrawCells(R: TRect; ColDate: TDateTime; Col: Integer);
|
||||||
var
|
var
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user