Event: OnInvalidDataChar

If you use the Delphi/C++ Builder 2009 or later, you can use the Data property to specify a barcode text in AnsiString format, and encode it into the barcode symbol. Or use the Data property to encode a block of binary (bytes) data into the barcode symbol (only for the TBarcode1D_Code128 and the TBarcode1D_EAN128 components). The event occurs if there is any invalid character in the Data property.

Syntax:

type

{ Defined in the pBarcode1D unit }

TOnInvalidDataChar = procedure (Sender: TObject; Index: Integer; DataChar: AnsiChar) of object;

property OnInvalidDataChar: TOnInvalidDataChar;

Parameters:
Note:

Contents