TXLSWorksheet.IsEmpty returns wrong value
Posted: Fri Jul 21, 2017 11:37 am
Hi!
I am currently testing XLSReadWrite V6 to update our products to this version.
First of all, thank you for the new version
Most things run smoothly but some of our unit tests fail.
First thing I noticed was that TXLSWorksheet.IsEmpty has been changed.
This function returns true if I just write into the first cell (which is obviously wrong).
In V5 there was another mechanism to detect if the sheet was empty which returns the correct value.
Could you please fix this.
Thank you
d3nton
I am currently testing XLSReadWrite V6 to update our products to this version.
First of all, thank you for the new version

Most things run smoothly but some of our unit tests fail.
First thing I noticed was that TXLSWorksheet.IsEmpty has been changed.
Code: Select all
function TXLSWorksheet.IsEmpty: boolean;
begin
CalcDimensions;
Result := (FirstCol = LastCol) and (FirstRow = LastRow);
end;
In V5 there was another mechanism to detect if the sheet was empty which returns the correct value.
Could you please fix this.
Thank you
d3nton