Vcl.ComCtrls.TCustomTreeView.ReadOnly
Delphi
property ReadOnly: Boolean read FReadOnly write SetReadOnly default False;
C++
__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Determines whether the user can edit the node labels.
Use ReadOnly to specify whether the user can edit the nodes of the tree view. If ReadOnly is true, the user can expand and collapse nodes, but can't edit their labels. If ReadOnly is false, the user can edit the labels as well. The default value is false.