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

TDBImage.ReadOnly

Indicates if the control cannot modify the image in the field for the linked dataset.

Declaration

Source position: dbctrls.pp line 1241

published property TDBImage.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 in the target database table.

See also

TDBImage.DataField

  

Contains the name of the field with the value for the control.

TDBImage.DataSource

  

Provides access to the dataset with content for the control.

TDBImage.Field

  

Definition for the field in the linked dataset where the control value is stored.

TDataLink.ReadOnly

TDataLink.DataSource

TDataLink.DataSet


Version 3.2 Generated 2024-02-25 Home