Name
Listviewcolumn.Editable -- allow editing of column items
Function
Set this to True to allow user editing of the items in this column. The user will then be able to edit all items in this column by executing a slow double click, i.e. slowly pressing left mouse button two times in a row.

If you would only like to allow editing of some items in the column, you need to set this attribute to True and you need to listen to the Listview.StartEditing attribute. Listview.StartEditing will then be triggered whenever the user attempts to edit an item and your callback can return False to forbid editing of certain items. See Listview.StartEditing for details.

To get notified whenever the value of a listview item changes because the user has edited it, you have to listen to the Listview.ValueChange attribute.

To manually start editing of a listview item, call the Listview.Edit method.

Also, Listviewcolumn.Checkbox and Listviewcolumn.Editable are mutually exclusive. You cannot create editable checkbox columns.

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

Type
Boolean

Applicability
IG


Show TOC