Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

BarCode

edited November 2003 in General
Hi

Is there a way to change the property -> BarCodeType at run time...
And how can do it...
( the user select from combobox the barcode types... )

thank

Sharon

Comments

  • edited November 2003
    Hi Sharon,

    Simply setting your barcode equal to one of the pre-defined barcode types
    (below) should work at runtime. Something like the following:

    uses
    ppTypes;

    BarCode.BarCodeType := bcCode39;

    The best place to change the barcode type would be before you call
    Report.Print. Are you trying to change the barcode type at a different time
    in the report generation process? Below is a list of all the barcode types.

    bcUPC_A,
    bcUPC_E,
    bcEAN_13,
    bcEAN_8,
    bcInt2of5,
    bcCode128,
    bcCode39,
    bcPostnet,
    bcFIM,
    bcCodabar,
    bcMSI

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.