Version 5.56 | Index Print view


Add Barcodes into REAL basic projects
To use this functionality you require the Enterprise Edition

How to add a barcode to a REAL basic project (Win32 only)

You can use ActiveBarcode in REAL basic like any other control (e.g. like a button) when compiling for Win32 platform. First you have to add the ActiveBarcode control into the project.

Adding ActiveBarcode to the project

Go to the "Project" menu, select "Add" and then "ActiveX component":



A dialog with containing a list of the available controls appears. Select "ActiveBarcode" and activate it here. Then click OK.



Now ActiveBarcode is integrated into the project.

Use ActiveBarcode (A simple example)

To place the ActiveBarcode control on a Window, open the "Project Controls list". Select "ActiveBarcode" in that list.



You add the ActiveBarcode control to a window as any build-in control. Drag it to the window. Also add an "Edit Field" to the window. We use this in our example.



You set up the default values for the barcode inside the "Window1.Open" event. Add the following code to this event:



Next we will use the event "Window1.EditField1.TextChange" to change the barcodes content everytime the "Edit field" changes. Add the following code to this event:



That's it. Now launch this example application:



If you change the content of the "Edit field" in the running application, the barcode will encode this.




| Home | Shop | Email | Datenschutz | Sitemap | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.

ActiveBarcode:
Barcode OCX and Software
The complete solution for all popular barcode types
www.ActiveBarcode.com