
This method will cancel the label editing of an item, so the user may not rename the text content of that item. This is useful when you wish to ensure that some items may be edited while others may not.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ListView_CancelLabelEdit MyControlReference [as Reference]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ListView_CancelLabelEdit ProjectFile [as String] DialogName [as String] ControlName [as String]) |
This method is not available for the BlockList control.
Copy Code |
|---|
; Cancel label editing if any is occurring (Odcl_ListView_CancelLabelEdit MyProject_MyForm_MyControl) |