Vcl.ComCtrls.TListView.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read FReadOnly write SetReadOnly default 0;

C++

__property ReadOnly = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListView

Description

Determines whether the user can change the contents of the control.

Vcl.ComCtrls.TListView.ReadOnly inherits from Vcl.ComCtrls.TCustomListView.ReadOnly. All content below this line refers to Vcl.ComCtrls.TCustomListView.ReadOnly.

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.

See Also