Vcl.DBCtrls.TDBComboBox.ReadOnly
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 | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBComboBox |
Description
Determines if the user can change the value of the field.
Set ReadOnly to specify whether the combo box should be used for display purposes only. If ReadOnly is true, the combo box can only be used to display the value of the field on the current record. If ReadOnly is false, the user can use the combo box to edit the field's value.