[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.ReadOnly

Disables editing of list items on the control when set to True.

Declaration

Source position: comctrls.pp line 1657

public property TCustomListView.ReadOnly : Boolean
  index Ord(lvpReadOnly)
  read GetProperty
  write SetProperty
  default False;

Description

ReadOnly is a Boolean property used to enable or disable editing of captions for list items at run-time. When ReadOnly is set to True, the editor for the control cannot be activated using a mouse double Click or by pressing the F2 function key.

The default value for the property is False, and indicates that item editing is allowed.