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 1:07PM
    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

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.