TfrxBarcodeView - Color property

We used following script (Fast Report 4) to shade every other row specially Barcode object, but in version 5 the Color property is removed from TfrxBarcodeView object .

procedure Page1BarCode2BeforePrint(Sender: TfrxComponent);
begin
if (<Line#> mod 2) = 0 then
BarCode2.Color := clGray
else
BarCode2.Color := clNone;
end;


o7vxvn.jpg

I think TfrxBarcodeView.Fill.BackColor & TfrxBarcodeView.Fill.ForColor property is added instead of that, is it correct? If yes, I can???t work by BarCode.Fill.BackColor := clGray.

Please tell me what should I do?

Best Regards
Hadi

Comments

  • gpigpi
    edited 6:14AM
    Color property restored. Use latest FR 5.5.11

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.