mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 10:58:16 +02:00
LazReport, for selected barcode symbols with invalid data, return the fixed code instead of the default one
git-svn-id: trunk@33472 -
This commit is contained in:
parent
ff1298f838
commit
fe098f786f
@ -254,7 +254,8 @@ begin
|
||||
Memo1.Assign(Memo);
|
||||
|
||||
if (Memo1.Text <> '') and (pos('[',Memo1.Strings[0])=0) and
|
||||
((bcNames[Param.cBarType, 1] = 'A') or IsNumeric(Memo1.Strings[0])) then
|
||||
((bcNames[Param.cBarType, 1] = 'A') or IsNumeric(Memo1.Strings[0]) or
|
||||
Barc.BarcodeTypeChecked(Param.cBarType) ) then
|
||||
begin
|
||||
BarC.Text := Memo1.Strings[0];
|
||||
BarC.Checksum := Param.cCheckSum;
|
||||
@ -594,7 +595,6 @@ begin
|
||||
XML.SetValue(Path+'BarCode/Zoom', GetSaveProperty('Zoom'));
|
||||
end;
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
procedure TfrBarCodeForm.FormCreate(Sender: TObject);
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user