Display tenths of a second through FormatTimeNumber. Used by query running status, table tools dialog and some more.

This commit is contained in:
Ansgar Becker
2018-03-18 21:17:33 +01:00
parent de0446b3b3
commit 83d6b02d7c
4 changed files with 24 additions and 17 deletions

View File

@ -748,7 +748,7 @@ begin
DeleteFile(FileName);
LogRow := FResults.Last;
LogRow[2] := _('Compressing done.');
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) DIV 1000, True);
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) / 1000, True);
ResultGrid.Repaint;
end;
@ -1352,7 +1352,7 @@ const
BytesDone := Max(DBObj.Size,0) div Max(DBObj.Rows,1) * RowsDone;
FObjectSizesDoneExact := FObjectSizesDone + BytesDone;
LogRow[2] := FormatNumber(RowsDone) + ' / ' + FormatNumber(Percent, 0)+'%';
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) DIV 1000, True);
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) / 1000, True);
UpdateResultGrid;
end;