TCustomTreeView.ReadOnly property
Indicates whether the text (or caption) for tree nodes can be edited in the control.
Declaration
property ReadOnly: Boolean read GetReadOnly write SetReadOnly default False;Description
ReadOnly is a
Boolean property which indicates whether
the text for the
TTreeNode instances in Items can be edited in the
control. When ReadOnly is set to
False, the
BeginEditing
method is not called when the
F2 key is pressed, or when the Left
mouse button is double clicked. The default value for the property is
False.
The property value is True when tvoReadOnly has been
included in the Options for the control. Setting a new value for
the property causes tvoReadOnly to be included in or excluded from the values
in Options. Changing the value to False causes the
EndEditing method to be called.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
