RBarcode for Delphi

Copyright J4L (http://www.java4less.com) 2002.

Introduction

RBarcode is a Delphi component that will allow you to create 1 dimensional barcodes for your windows applications. The component has been developed using Delphi 4 and Delphi 7 so it should run in any Delphi version between between 4 and 7 by recompiling it.

Barcodes types

The following is a short description of some of the supported barcode types: At HP site you will find more information abour barcode.
 
 

Installation

 

In order to install the component you must start delphi and select:

component -> install packages -> select BPL file.

The new component will appear in your component's palette. It will create a new "tab" called "barcodes".

 

Examples

In order to run the sample application you must execute barcode1DDemo.exe or barcode1D2DDemo.exe.

 

 

Properties and methods of the component

The TBarcode1D component is a subclass of TGraphicControl and can therefore be placed on any form or container. This is the esiest way to use it , however you can also create an instance of the component by program and then paint the barcode on any canvas object using the paintBarcode() method.

The TBarcode1D component has following properties and methods:

Methods

 

Properties

How to use the checkCharacter property:

If you are suppling the code with the check digit already calculated, you must set checkCharacter to false (this is the default). If you want the software to calculate the checksum for you, you must set barcheckCharacter to true.

For EAN and UPC have fixed length and therefore you only have the following possibilities: