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.
type
{ Defined in the pDBBarcode1D unit }
TBindProperty = (bpBarcode, bpData);
property BindProperty: TBindProperty;
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):
bpBarcode: The data field value will be applied to the Barcode property of the TBarcode1D barcode component (for the TBarcode1D_FIM component, it's the FIMType property; for the TBarcode1D_Patch component, it's the PatchType property; for the TBarcode1D_OneCode component, it's the Tracking and Routing properties, the first 20 characters are the Tracking, it is right padded with zeroes to 20 characters, then come the Routing).
bpData: The data field value will be applied to the Data property of the TBarcode1D barcode component.
The property is available only for the Delphi/C++ Builder 2009 or later.