IListView.ReadOnly

Fore Syntax

ReadOnly: Boolean;

Fore.NET Syntax

@ReadOnly: boolean;

Description

The ReadOnly property determines whether it is possible to make changes in the list.

Comments

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.

Fore Example

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.

Fore.NET Example

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:

IListView