Bug in TXLSRow.SetHeight
Posted: Fri Jul 12, 2013 1:00 pm
I think that I´ve found a bug in TXLSRow.SetHeight.
If I set the Height-Property of a Row-Item, the Height keeps unchanged.
After a few attempts to set the height with another procedure I watched into the source code.
I´ve added the second line within the if-block, and then it works.
I´ve found that line in the followed else-if-block. I think that line has to be executed in both cases, and not only in the else-if.
Could you please fix this in the next release?
Or am I wrong with my assumption?
If I set the Height-Property of a Row-Item, the Height keeps unchanged.
After a few attempts to set the height with another procedure I watched into the source code.
Code: Select all
if FRowItem <> Nil then
begin
FRowItem.Height := AValue;
FRowItem.Options := FRowItem.Options + [xroCustomHeight];
end
else if ...
I´ve found that line in the followed else-if-block. I think that line has to be executed in both cases, and not only in the else-if.
Could you please fix this in the next release?
Or am I wrong with my assumption?