Occurs when the length of the Barcode property value is invalid.
type
{ Defined in the pfmxBarcode2D unit }
TOnInvalidLength = procedure (Sender: TObject; Barcode: string; LinearFlag: Boolean) of object;
property OnInvalidLength: TOnInvalidLength;
Sender: TObject; It is the object whose event handler is called.
Barcode: String; The invalid value of the Barcode property.
LinearFlag: Bolean; The parameter is reserved for future use.
In general, it occurs when the length of barcode text exceeds the maximum length limit. For the TBarcodeFmx2D_RSSLimited, TBarcodeFmx2D_RSS14, and TBarcodeFmx2D_AztecRunes components, if the Barcode property value is an empty string, the event occurs too.
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.