
This method starts the edit process of a tree item by displaying a text box on top of the tree item.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Tree_EditLabel MyControlReference [as Reference] Key [as String or Tree Node Handle]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Tree_EditLabel ProjectFile [as String] DialogName [as String] ControlName [as String] Key [as String or Tree Node Handle]) |
This method will not start the editing process if the EditLabel property of the control is set to False.
Copy Code |
|---|
; Initiate editing tree item label (Odcl_Tree_EditLabel MyProject_MyForm_MyControl "C_Documents and Settings") |
Tree_CancelEditLabel, OnBeginLabelEdit (TreeControl), OnEditLabelItem (TreeControl)