When setting Bitmap.Center := false, you get an invalid pointer operation in XE7 in release
procedure TBKH1400Form.GRIDhGetCellAppearance(Sender: TObject; ACol,
ARow: Integer; Cell: TFmxObject; ACellState: TCellState);
begin
if (aRow>=GRIDh.FixedRows) then begin
(Cell as TTMSFMXBitmapGridCell).Bitmap.BitmapName:=IMGNAME
(Cell as TTMSFMXBitmapGridCell).Bitmap.Position.X:=0;
(Cell as TTMSFMXBitmapGridCell).Bitmap.Position.Y:=0;
(Cell as TTMSFMXBitmapGridCell).Bitmap.HitTest:=false;
(Cell as TTMSFMXBitmapGridCell).Bitmap.Center:=false; //invalid pointer operation in xe7
(Cell as TTMSFMXBitmapGridCell).Bitmap.highspeed:=false;
(Cell as TTMSFMXBitmapGridCell).Text:='';
end;
end;
Hi,
We have tested this here but are unable to reproduce this issue with the above code.
It could be possible that this is a due to a specific combination, therefore we would appreciate it if you would send us a sample that is able to reproduce this issue.
Kind Regards,
Pieter