View Issue Details

IDProjectCategoryView StatusLast Update
0026521Lazarus CCRFPSpreadsheetpublic2014-08-28 18:48
ReporterLagunov Aleksey Assigned ToReinier Olislagers 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0026521: When creating TsWorksheetGrid on the form error
Descriptionpatch for fix this error in file
TagsNo tags attached.
Widgetset
Attached Files

Relationships

has duplicate 0026641 closedwp fpSpreadsheet 1.2 on Lazarus 1.2.4 32 bit 

Activities

Lagunov Aleksey

2014-07-24 07:37

developer  

fpspreadsheetgrid.diff (442 bytes)   
Index: fpspreadsheetgrid.pas
===================================================================
--- fpspreadsheetgrid.pas	(revision 3370)
+++ fpspreadsheetgrid.pas	(working copy)
@@ -1175,6 +1175,7 @@
 }
 procedure TsCustomWorksheetGrid.DrawFrozenPaneBorders(ARect: TRect);
 begin
+  if FWorksheet = nil then exit;
   if (soHasFrozenPanes in FWorksheet.Options) then begin
     Canvas.Pen.Style := psSolid;
     Canvas.Pen.Color := clBlack;
fpspreadsheetgrid.diff (442 bytes)   

Reinier Olislagers

2014-07-24 10:26

developer   ~0076328

Fixed in revision 3371. Thanks for the patch.

Please test and close if ok

Issue History

Date Modified Username Field Change
2014-07-24 07:37 Lagunov Aleksey New Issue
2014-07-24 07:37 Lagunov Aleksey File Added: fpspreadsheetgrid.diff
2014-07-24 10:26 Reinier Olislagers Note Added: 0076328
2014-07-24 10:26 Reinier Olislagers Status new => resolved
2014-07-24 10:26 Reinier Olislagers Resolution open => fixed
2014-07-24 10:26 Reinier Olislagers Assigned To => Reinier Olislagers
2014-07-24 11:33 Lagunov Aleksey Status resolved => closed
2014-08-28 18:48 wp Relationship added has duplicate 0026641