PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
  • Drag and Drop
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.
WEBDEV - Server code The Bar Code control is available in the report editor only.
Windows Mobile The Bar Code control is available in the report editor only.
Versions 17 and later
WEBDEV - Server codeWindows The Bar Code control is now available for the WEBDEV sites.
iPhone/iPad The Bar Code control is now available for the iPhone/iPad applications.
WEBDEV - Server codeLinux The Bar Code control is now available for the Linux sites.
New in version 17
WEBDEV - Server codeWindows The Bar Code control is now available for the WEBDEV sites.
iPhone/iPad The Bar Code control is now available for the iPhone/iPad applications.
WEBDEV - Server codeLinux The Bar Code control is now available for the Linux sites.
WEBDEV - Server codeWindows The Bar Code control is now available for the WEBDEV sites.
iPhone/iPad The Bar Code control is now available for the iPhone/iPad applications.
WEBDEV - Server codeLinux The Bar Code control is now available for the Linux sites.
Versions 18 and later
WINDEVLinux This type of control is now available for the WINDEV applications in Linux.
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
New in version 18
WINDEVLinux This type of control is now available for the WINDEV applications in Linux.
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
WINDEVLinux This type of control is now available for the WINDEV applications in Linux.
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
Versions 20 and later
Universal Windows 10 App This type of control is now available in Windows Store apps mode.
New in version 20
Universal Windows 10 App This type of control is now available in Windows Store apps mode.
Universal Windows 10 App This type of control is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This type of control is now available for the windows and reports found in the applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of control is now available for the windows and reports found in the applications in Universal Windows 10 App mode.
Universal Windows 10 App This type of control is now available for the windows and reports found in the applications in Universal Windows 10 App mode.
Versions 22 and later
Android This type of control is now available for the Android applications.
New in version 22
Android This type of control is now available for the Android applications.
Android This type of control is now available for the Android applications.
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).
  • WINDEVAndroidiPhone/iPadUniversal Windows 10 App the border of the bar code ("Style" tab of the window editor).
Versions 22 and later
Android Limitations:
  • Unsupported bar codes: Maxicode, Code 11 and MSI code.
  • Unsupported options: "With check", "Proportional size" and "Value of bar code visible".
New in version 22
Android Limitations:
  • Unsupported bar codes: Maxicode, Code 11 and MSI code.
  • Unsupported options: "With check", "Proportional size" and "Value of bar code visible".
Android Limitations:
  • Unsupported bar codes: Maxicode, Code 11 and MSI code.
  • Unsupported options: "With check", "Proportional size" and "Value of bar code visible".
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).
WINDEV

Drag and Drop

In a window, a Bar Code control can be used to perform a programmed Drag and Drop. See Programmed Drag and Drop for more details.
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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment