The event occurs if there is any invalid byte value in the Data property value.
type
{ Defined in the pfmxBarcode2D unit }
TOnInvalidChar = procedure (Sender: TObject; Index: Integer; DataChar: Byte; LinearFlag: Boolean) of object;
property OnInvalidChar: TOnInvalidChar;
Sender: TObject; It is the object whose event handler is called.
Index: Integer; The index position of first invalid byte in the barcode text that is specified by the Data property, the index 0 denotes that the first byte is invalid byte.
DataChar: Byte; The first invalid byte value in the barcode data that is specified by the Data property.
LinearFlag: Bolean; The parameter is reserved for future use.
If the Locked property is set to false, the event occurs when any component property is changed to cause the barcode is redrew, or when the Draw, Clear, Size, DrawTo (Syntax 1), DrawToSize (Syntax 1), Print (Syntax 1), or PrintSize (Syntax 1) method is called. Even if the Image property isn't specified.
If the Locked property is set to true, the event occurs when the Locked property is set to false to cause the barcode is redrew, or the Draw, Clear, Size, DrawTo (Syntax 1), DrawToSize (Syntax 1), Print (Syntax 1), or PrintSize (Syntax 1) method is called. Even if the Image property isn't specified.