PC SOFT

WINDEV的在线文档

  • Overview of the Bar Code control
  • Control found in a window, page or report
  • Creating a Bar Code control
  • Characteristics of the Bar Code control
  • Characteristics of the Bar Code control
  • Drag and Drop
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview of the 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.

17版本和更高版本
Windows The Bar Code control is now available for the WebDev sites.
Linux The Bar Code control is now available for the Linux sites.
17新版本
Windows The Bar Code control is now available for the WebDev sites.
Linux The Bar Code control is now available for the Linux sites.
Windows The Bar Code control is now available for the WebDev sites.
Linux The Bar Code control is now available for the Linux sites.
18版本和更高版本
WinDevLinux This type of control is now available for the WinDev applications in Linux.
18新版本
WinDevLinux This type of control is now available for the WinDev applications in Linux.
WinDevLinux This type of control is now available for the WinDev applications in Linux.

20版本和更高版本
WinDevWindows Store apps This type of control is now available in Windows Store apps mode.
20新版本
WinDevWindows Store apps This type of control is now available in Windows Store apps mode.
WinDevWindows Store apps This type of control is now available in Windows Store apps mode.

Creating a Bar Code control
To create a Bar Code control:
  1. In the editor, clickor 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 characteristics of the control, select "Description" from the popup menu of the control. You now have the ability to choose the type of bar code ("General" tab). This type cannot be modified by programming.

19版本和更高版本
WinDev 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.
19新版本
WinDev 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.
WinDev 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 the Bar Code control

Characteristics of the 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).

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).
  • WinDevWindows Store apps the border of the bar code ("Style" tab of the window editor).
The report editor lets you specify:
  • 19版本和更高版本
    the initial value of the bar code. For example, you can enter the Internet address linked to a QR type bar code.
    19新版本
    the initial value of the bar code. For example, you can enter the Internet address linked to a QR type bar code.
    the initial value of the bar code. For example, you can enter the Internet address linked to a QR type bar code.
  • the type of bar code to display (with its specific features 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.
    • 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: 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 the 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.