ListView and TreeView controls
When EditLabels is enabled, the user can edit labels in the ListView or TreeView by selecting the item, clicking on the label, and then adding or deleting characters. When EditLabels is not enabled, the labels are not editable.
Select the Edit Labels check box on the General page of the control’s Properties view.
The EditLabels property takes a boolean value. The following example enables editing of labels in a TreeView:
tv_1.EditLabels = TRUE