Getting started with TMS FNC WX Barcode
Prerequisites
- TMS FNC Core installed and the runtime package added to the project.
- TMS FNC WX Pack installed.
Add the component
- Drop
TTMSFNCWXBarcodefrom the component palette onto a form. - Set
BarcodeTypeto the required symbology (for examplebciCode128). - Set
Textto the data to encode; the control renders the barcode.
The minimal barcode — create it, choose a symbology, and set the data:
procedure TForm1.GenerateBarcode(const AData: string);
begin
FBarcode := TTMSFNCWXBarcode.Create(Self);
FBarcode.Parent := Self; // the control renders its image once parented
FBarcode.Align := TAlignLayout.Client;
FBarcode.BarcodeType := bciCode128; // the symbology to encode with
FBarcode.Text := AData; // the data placed in the barcode
end;
Next steps
- Guides — symbologies, generation events, and appearance.
- API reference — full class reference.