You've already forked lazarus-ccr
fpspreadsheet: Fix grid crashing in frame when Handle is not yet available.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5891,6 +5891,9 @@ var
|
||||
h: Integer; // Row height, in pixels. Contains zoom factor.
|
||||
doCalcRowHeight: Boolean;
|
||||
begin
|
||||
if not HandleAllocated then
|
||||
exit;
|
||||
|
||||
if ARow < FHeaderCount then
|
||||
exit;
|
||||
|
||||
|
Reference in New Issue
Block a user