Vcl.DBCtrls.TDBLookupControl.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read GetReadOnly write SetReadOnly default False;

C++

__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

Determines if the user can use the lookup control to set the value of the DataField field.

Use ReadOnly to specify whether the lookup control is used for display purposes only. If ReadOnly is true, the lookup control can only be used to display the lookup values that correspond to the value of the DataField field on the current record. If ReadOnly is false, the user can use the lookup control to change the field's value.

See Also