Vcl.DBCtrls.TDBCheckBox.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 | TDBCheckBox |
Description
Determines whether the user can change the value of the field.
Use ReadOnly to specify whether the check box allows the user to change the field value by checking or unchecking the box. When ReadOnly is true, the check box can only be used to display the value of the field on the current record. When ReadOnly is false, the user can use the check box to change the field value.