![]() |
Zint - Barcode height property
There is problem with TZintBarcode
Code:
Barcode haight property is not changable! This is bug in component or in DLL? Zint Barcode Studio don't have this problem, so this can be bug in component. Has somebody valid version?
http://www.delphipraxis.net/143986-%5Bkomponente%5D-barcode-fuer-delphi-zint.html
|
AW: Zint - Barcode height property
I've tried it with the current revision 843 and it works.
Delphi-Quellcode:
procedure TForm11.TrackBar1Change(Sender: TObject);
var zb : TZintBarcode; bmp : TBitmap; begin Repaint; bmp := TBitmap.Create; zb := TZintBarcode.Create; zb.BarcodeType := tBARCODE_CODE128; zb.Height := TrackBar1.Position; zb.Data := 'Hallo'; zb.GetBarcode(bmp); Canvas.Draw(10, 10, bmp); bmp.Free; zb.Free; end; |
Re: Zint - Barcode height property
Please try this:
- use component instead directly - set some 1D // Can change as in your example - now set some 2D // Can't change - finally set again some 1D // Still can't change Also there is problem with border property - if you set barcode that uses it and then change to barcode that don't uses it, property has previous value. |
AW: Zint - Barcode height property
Ok ... it seems there is a problem. I'll take a look at it.
|
AW: Zint - Barcode height property
Hallo,
Ich habe das Problem, dass ich zur Entwurfszeit den Barcode in der Komponente sehe, aber wenn ich kompiliert habe, bleibt die Komponente weiss. Wenn ich zintbarCode direkt benutze, bekomme ich gar keine Ausgabe. (auch nicht mit dem Beispiel von heute) Ich habe die BPL120 mit DelphiXE (32Bit) kompiliert, und benutze die letzte dll von Zint (871 kb) Grüße Kurtow187 |
AW: Zint - Barcode height property
@Kurtow187:
Nimm mal bitte die zint.dll aus dem SVN. Die habe ich an unsere Komponente angepasst. @WojTec: I haven't found a solution till now. It seems, that it is a bug in zint. But maybe i'll get it in the future. Sorry. |
Re: Zint - Barcode height property
Ok, I hope Zint will fixed in the future :)
BTW: Why same version 843 from SF is bigger than version from your SVN? |
AW: Zint - Barcode height property
Because its a special compilation without PNG and some other features, not needed by our component.
|
AW: Zint - Barcode height property
Zitat:
Funktioniert leider auch nicht. Ich habe jetzt mit der neuen uZintBarcode.pas (Version vom 10 August )compiliert Jetzt bekomme ich eine Exception EReadError 'Eigenschaft Rotation existiert nicht' Vielleicht liegts am DelphiXE? Grüße Kurtow187 |
AW: Zint - Barcode height property
Die Sache mit der Eigenschaft Rotation muss kommen, da ich nen Tippfehler ausgebügelt habe. Aber nur einmal pro verwendete Komponente.
|
AW: Zint - Barcode height property
@chaosben
Vielen Dank für Deinen Tip! Komponente läuft jetzt perfekt. hatte noch einen Pfad, der auf die alte dcu zeigte ! (Tur mir leid für die gestohlene Zeit, die Blöden sterben nie aus !) Grüße Kurtow187 |
AW: Zint - Barcode height property
Gelöscht!
Neuer Thread angelegt. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:49 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz