Vcl.DBCtrls.TDBMemo.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 | TDBMemo |
Description
Determines whether the user can change the contents of the database memo.
If ReadOnly is true, the user can't change the contents. If ReadOnly is false, the user can modify the contents.
The ReadOnly property determines whether the user can use the database memo to change the value of the field of the current record, or if the control only displays the value. If ReadOnly is false, the user can change the field's value as long as the dataset is in edit mode.