Property: ReadOnly

Determines whether the user can change the value of the field.

Syntax:

property ReadOnly: Boolean;

Description:

Use the ReadOnly property to specify whether the TBarcode1D barcode component specified in the Barcode1D property of a TDBBarcode1D component allows the user to change the field value by changing the value of its Barcode property (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), or its Data property (only for Delphi/C++ Builder 2009 or later).

When the ReadOnly property is set to true, the TBarcode1D barcode component can only be used to represent the value of the field on the current record.

When the ReadOnly property is set to false, for the Delphi/C++ Builder 2007 or early, the user can change the field value by changing the Barcode property value of the TBarcode1D barcode component specified in the Barcode1D property of the TDBBarcode1D 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). For the Delphi/C++ Builder 2009 or later, if the BindProperty is set to bpBarcode, the user can change the field value by changing the Barcode property value of the TBarcode1D barcode component specified in the Barcode1D property of the TDBBarcode1D 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). If the BindProperty is set to bpData, the user can change the field value by changing the Data property value of the TBarcode1D barcode component specified in the Barcode1D property of the TDBBarcode1D component.

Contents