PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview of Bar Code control
  • Control found in a window, page or report
  • Creating a Bar Code control
  • Characteristics of Bar Code control
  • Characteristics of Bar Code control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of Bar Code control

Control found in a window, page or report

The Bar Code control allows you to easily display bar codes in your windows, pages or reports.
The value of a Bar Code control corresponds to an alphanumeric string.
Caution: To directly read the value of a bar code on the screen with a special device, make sure that you use the appropriate device.
Versions 17 and later
Windows The Bar Code control is now available for the WEBDEV sites.
New in version 17
Windows The Bar Code control is now available for the WEBDEV sites.
Windows The Bar Code control is now available for the WEBDEV sites.
Creating a Bar Code control
To create a Bar Code control:
  1. In the editor, click Bar Code control or select:
    • in the window editor or in the page editor, "Insert .. Controls .. Bar Code control".
    • in the report editor, "Insert .. New control .. Bar code".
    On the "Creation" pane:
    • in the window editor or in the page editor: in the "Graphic controls" group, click "Bar code".
    • in the report editor: in the "Data" group, click "Bar code".
  2. Click the position where the control must be created in the window or the report. The control appears in creation mode.Click the position where the control must be created in the window, page or report. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control. You now have the ability to choose the type of bar code ("General" tab). This type cannot be modified by programming.
Versions 19 and later
Tip: you can also create a "pre-formatted" edit control by expanding the "Bar code" option. The list of available types of bar code with their preview in the skin template of the project comes up. All you have to do is click the requested control to create it in the editor.
New in version 19
Tip: you can also create a "pre-formatted" edit control by expanding the "Bar code" option. The list of available types of bar code with their preview in the skin template of the project comes up. All you have to do is click the requested control to create it in the editor.
Tip: you can also create a "pre-formatted" edit control by expanding the "Bar code" option. The list of available types of bar code with their preview in the skin template of the project comes up. All you have to do is click the requested control to create it in the editor.
Characteristics of Bar Code control

Characteristics of Bar Code control

A Bar Code control includes:
  • the caption of the Bar Code control.
  • the image of the bar code.
  • the value of the bar code (that corresponds to an alphanumeric string).
Elements of a bar code
The window editor is used to select:The window editor or the page editor is used to select:
  • the type of bar code to display (with its characteristics if necessary).
    • Bar codes with check: The last character of the bar code corresponds to a control character.
    • Extended bar code: The value of the bar code can contain the 128 characters found in the ASCII code.
    • Proportional size: The height of the bar code is proportional to its width (for the UPC and EAN types).
    • Value of bar code visible: Displays (or not) the value of the bar code below its drawing.
      To find out the different types of bar codes supported by WINDEV, WINDEV Mobile or WEBDEV, see The different types of bar codes.
  • the orientation and position of the bar code ("Details" tab).
The report editor is used to specify:
  • Versions 19 and later
    the initial value of the bar code. For example, you have the ability to type the Internet address linked to a QR bar code.
    New in version 19
    the initial value of the bar code. For example, you have the ability to type the Internet address linked to a QR bar code.
    the initial value of the bar code. For example, you have the ability to type the Internet address linked to a QR bar code.
  • the type of bar code to display (with its specific features if necessary).
    • With check: The last character of the bar code corresponds to a control character.
    • Extended Code: The value of the bar code can contain the 128 characters found in the ASCII code.
    • Value of bar code visible: Displays (or not) the value of the bar code below its drawing.
    • Proportional size: The height of the bar code is proportional to its width (for the UPC and EAN types).
    • Ignore the formatting characters: Ignores the brackets in a 128 or EAN-128 bar code.
    • The value contains control characters: Bar code containing control characters (valid for the CODE 128, DATAMATRIX, EAN 128 and PDF 417 bar codes only). By default, the control characters are enclosed between the "<" and ">" characters. In order for these characters not to be interpreted as control characters, they must be doubled.
    • Sets of characters: Bar code using one or more sets of characters in order to compress the bar code. This set of characters must be defined in the value of bar code.
    • Check characters: Bar code containing check characters (valid for the CODE 128, DATAMATRIX, EAN 128 and PDF 417 bar codes).
      To find out the different types of bar codes supported by WINDEV or WEBDEV, see The different types of bar codes.
  • the orientation and position of the bar code.
  • the border of the bar code ("Style" tab).
Related Examples:
The Bar Code control Unit examples (WINDEV): The Bar Code control
[ + ] Using a Bar Code control
Pocket Attendance Mobile (WINDEV Mobile): Pocket Attendance
[ + ] This application is an attendance manager. It allows you to list the persons who attended a meeting.
The database is previously filled with the list of registered persons.
A bar code reader can be used to read the identifiers of the persons.
The following topics are presented in this example:
1/ the click performed on a table column
2/ the use of a browsing table
WD Reports Training (WINDEV): WD Reports
[ + ] This example presents the different methods for creating a report:

- prints based on different data sources (queries, variables, ...)
- prints based on controls (Table, Spreadsheet, PVT, ...)
- printing composite reports
- specific prints (portrait/landscape, report with watermark, report with bar code, ...)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment