You've already forked lazarus-ccr
LazStats: One more automatic divider line for report.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -403,7 +403,7 @@ begin
|
||||
lReport.Add('See the internet site http://www.xycoon.com/ for the above.');
|
||||
lReport.Add('');
|
||||
end; // end of experimental alternatives
|
||||
lReport.Add(DIVIDER_AUTO);
|
||||
lReport.Add(DIVIDER_SMALL_AUTO);
|
||||
end; // next j variable
|
||||
|
||||
FReportFrame.DisplayReport(lReport);
|
||||
|
@ -84,6 +84,8 @@ begin
|
||||
maxLen := Longestline(AReport);
|
||||
for s in AReport do
|
||||
if s = DIVIDER_AUTO then
|
||||
ReportMemo.Lines.Add(AddChar('=', '', maxLen))
|
||||
else if s = DIVIDER_SMALL_AUTO then
|
||||
ReportMemo.Lines.Add(AddChar('-', '', maxLen))
|
||||
else
|
||||
ReportMemo.Lines.Add(s);
|
||||
|
@ -88,7 +88,8 @@ const
|
||||
|
||||
DIVIDER = '===========================================================================';
|
||||
DIVIDER_SMALL = '---------------------------------------------------------------------------';
|
||||
DIVIDER_AUTO = '@-';
|
||||
DIVIDER_AUTO = '@=';
|
||||
DIVIDER_SMALL_AUTO = '@-';
|
||||
|
||||
GRAPH_BACK_COLOR = clCream;
|
||||
GRAPH_WALL_COLOR = clGray;
|
||||
|
Reference in New Issue
Block a user