Occurs when the length of the Barcode, FIMType (Only for TBarcode1D_FIM component), PatchType (Only for TBarcode1D_Patch component), Tracking (Only for TBarcode1D_OneCode component), or Routing (Only for TBarcode1D_OneCode component) property is invalid.
type
{ Defined in the pBarcode1D unit }
TOnInvalidLength = procedure (Sender: TObject; Barcode: string) of object;
property OnInvalidLength: TOnInvalidLength;
Sender: TObject; It is the object whose event handler is called.
Barcode: String; The invalid value of the Barcode, FIMType (Only for TBarcode1D_FIM component), PatchType (Only for TBarcode1D_Patch component), Tracking (Only for TBarcode1D_OneCode component), or Routing (Only for TBarcode1D_OneCode component) property.
For the TBarcode1D_OneCode component, first 20 characters are the Tracking (It is right padded with zeroes to 20 characters), then come the Routing.
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.