
This method will force the label of an item to show the edit box, so the user may rename the text content of that item. When using this method on a ListView control with the Report style setting only the item in the first column may be edited. This method will not start the editing process if the EditLabel property of the control is set to False.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ListView_StartLabelEdit MyControlReference [as Reference] nItemIndex [as Integer]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ListView_StartLabelEdit ProjectFile [as String] DialogName [as String] ControlName [as String] nItemIndex [as Integer]) |
This method is not available for BlockList controls.
Copy Code |
|---|
; Initiate label editing on the 4th row (Odcl_ListView_StartLabelEdit MyProject_MyForm_MyControl 3) |