Vcl.ComCtrls.TCustomListView.ReadOnly
Delphi
property ReadOnly: Boolean read FReadOnly write SetReadOnly;
C++
__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Determines whether the user can change the contents of the control.
Use ReadOnly to determine whether the list view can be used to enter data. If ReadOnly is true, the list view displays values that the user can't edit. If ReadOnly is false, the user can modify the contents. If ReadOnly is false, the OnEditing and OnEdited events occur when the user begins and finishes editing the list item, respectively.