ReadOnly: Boolean;
The ReadOnly property determines whether it is possible to make changes in the elements list text.
Available values:
True. Default. Editing of elements text in the list is locked.
NOTE. Editing of other interface elements is not denied.
False. Editing of elements text in the list is allowed.
Executing the example requires a form, the Button component named Button1 and the ListView component named ListView1 on the form.
Add a link to the Forms system assembly.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ListView1.ReadOnly := False;
End Sub Button1OnClick;
After executing the example it is allowed to edit elements text.
See also: