|
|
|
|
- Overview
- Displaying a bar code in a Bar Code control
- Displaying a bar code in a Bar Code control
- Retrieving the value of the bar code displayed in the Bar Code control
- Properties specific to Bar Code controls
Handling Bar Code controls programmatically
WINDEV, WEBDEV and WINDEV Mobile allow you to programmatically handle Bar Code controls. To do so, use the variable of the Bar Code control in the code. The variable of the Bar Code control corresponds to the name of the control. This variable is a text variable. Displaying a bar code in a Bar Code control Displaying a bar code in a Bar Code control To display a bar code in a Bar Code control, simply assign a value. For example: - direct assignment:
BAC_BarCodeControl = "123456789"
- assignment using a variable:
BAC_BarCodeControl = Products.BarCode
Retrieving the value of the bar code displayed in the Bar Code control Properties specific to Bar Code controls The following properties can be used to programmatically handle Bar Code controls. | | DndSource | Gets and sets the behavior of the source control during a drag-and-drop operation. | DndTarget | Gets and sets the behavior of the target control during a drag-and-drop operation. | HorizontalAlignment | Gets and sets the horizontal alignment of a Bar Code control. | VerticalAlignment | Gets and sets the vertical alignment of a Bar Code control. |
For a complete list of the WLanguage properties that can be used with a Bar Code control, see Bar Code control properties.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|