Property: BindProperty

Indicates which property of the TBarcode1D component the data field value will be applied to, in order to represent the barcode symbol from a data field of the current record of a dataset.

Syntax:

type

{ Defined in the pDBBarcode1D unit }

TBindProperty = (bpBarcode, bpData);

property BindProperty: TBindProperty;

Description:

The Barcode property of TBarcode1D component is of type string, for Delphi/C++ Builder 2009 or later, it is in fact an UnicodeString instead of AnsiString. In order to encode the barcode text in AnsiString format, we added a Data property, it is of type AnsiString.

When a TBarcode1D barcode component is linked to the TDBBarcode1D component, it will represent the barcode symbol from a data field (specified by the DataField property of the TDBBarcode1D component) of the current record of a dataset (specified by the DataSource property of the TDBBarcode1D component). The BindProperty property indicates which property of the TBarcode1D component the data field value will be applied to.

This property can be one of these values (defined in the pDBBarcode1D unit):

Note:

The property is available only for the Delphi/C++ Builder 2009 or later.

Contents