Barcode Types

Hi

Can someone tell what is wrong with this code
var
bcv : tfrxBarCodeView;
begin
 bcv := tfrxBarCodeView(frxReport1.FindObject('Bar1'));
 bcv.BarType := bcCode39;

I get an error from "bcv.BarType := bcCode39" saying
"Incompatible TfrxBarcodeType and TfrBarcodeType"

What should it be?

Thanks

Comments

  • edited 7:40AM
    Try to add frxbarcod to uses.
    For example I use the next code:
    ...
    uses frxClass ,frxbarcod ,frxbarcode ;
    .....
    and your code is working...

    P.S. sorry for my English

Leave a Comment