Vcl.ComCtrls.TTreeView.ReadOnly
Delphi
property ReadOnly: Boolean read FReadOnly write SetReadOnly default 0;
C++
__property ReadOnly = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeView |
Description
Determines whether the user can edit the node labels.
Vcl.ComCtrls.TTreeView.ReadOnly inherits from Vcl.ComCtrls.TCustomTreeView.ReadOnly. All content below this line refers to Vcl.ComCtrls.TCustomTreeView.ReadOnly.
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.