Name
Listview.Edit -- prompt user to edit an item
Synopsis
moai.DoMethod(id, "Edit", row, column)
Function
This method can be used to programmatically initiate item editing. Normally, item editing is started by the user by slowly double-clicking an item. This method provides an alternative to this user mechanism.

This will only work if Listviewcolumn.Editable has been set to True for the respective listview column.

When the user has finished editing, the Listview.ValueChange attribute will be triggered.

Note that if you have installed a listener on the Listview.StartEditing attribute, then this callback will be asked for permission first before editing is actually started.

To learn about editing operations getting cancelled, you can listen to the Listview.AbortEditing attribute.

Also note that on AmigaOS and compatibles this feature is only available on MUI 4.0 or higher.

Inputs
id
id of the listview object
row
row index of the item to edit
column
column index of the item to edit

Show TOC