ReadOnly: Boolean;
@ReadOnly: boolean;
The ReadOnly property determines whether it is possible to make changes in the list.
If the ReadOnly property is set to True, the list text cannot be edited. If the property is set to False, the text can be edited.
Executing the example requires a form that contains the Button component with the Button1 identifier and the ListView component with the ListView1 identifier.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ListView1.ReadOnly := False;
End Sub Button1OnClick;
After executing the example the list text is allowed to be edited in the ListView component.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
MetabaselistViewNet1.@ReadOnly := True;
End Sub;
See also: