Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
5238 00 JVCL Components block always 2010-05-14 10:34 2011-06-10 16:10
Servando  
AHUser  
normal  
resolved 3.39  
fixed  
none    
none 3.40  
0005238: TJvGridPrinter blocks with an infinite loop while printing grid
When printing a grid with TJvGridPrinter->Preview() system enters in an infinite loop, generating a endless printer document.
TJvGridPreviewForm.pas: TJvGridPreviewForm::Print has a bug in line 661

DrawToCanvas(Printer.Canvas, pmPrint, 1, Grid.ColCount - 1)

it sends ColCount instead of RowCount as the limit of rows to print. This cause an endless loop while printing.

Replace "Grid.RowCount" instead of "Grid.ColCount" and all is Ok.
Issue History
2010-05-14 10:34 Servando New Issue
2010-05-14 19:39 AHUser Note Added: 0017387
2010-05-14 19:39 AHUser Status new => resolved
2010-05-14 19:39 AHUser Fixed in Version => Daily / SVN
2010-05-14 19:39 AHUser Resolution open => fixed
2010-05-14 19:39 AHUser Assigned To => AHUser
2011-06-10 16:10 obones Fixed in Version Daily / SVN => 3.40

Notes
(0017387)
AHUser   
2010-05-14 19:39   
Fixed in SVN revision: 12767