[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TCustomDBComboBox.ReadOnly

Indicates if the control is prevented from changing the field value in its linked dataset.

Declaration

Source position: dbctrls.pp line 779

public property TCustomDBComboBox.ReadOnly : Boolean
  read GetReadOnly
  write SetReadOnly
  default False;

Description

ReadOnly is a Boolean property which indicates if the control cannot modify its DataField in the linked dataset. When set to True, the underlying field value cannot be modified using the control.

Read and write access for the property value are redirected to the ReadOnly property in the TFieldDataLink instance used in the control.

Remark: A value assigned to ReadOnly may be overridden by the Field definition from the target database table.

See also

TCustomDBComboBox.DataField

  

The name of the Field which provides the values displayed in the control.

TCustomDBComboBox.DataSource

  

Provides access to the dataset with content for the control.

TCustomDBComboBox.Field

  

Contains the field definition from the linked dataset.

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TDataLink.ReadOnly

TDataLink.DataSource

TDataLink.DataSet


Version 3.2 Generated 2024-02-25 Home