Table of Contents

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

  1. Drop TTMSFNCWXBarcode from the component palette onto a form.
  2. Set BarcodeType to the required symbology (for example bciCode128).
  3. Set Text to 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.