I Have the following code in a ListBox.
Double Click Event:
LB.CellType(Me.ListIndex, 1) = ListBox.TypeEditable
KeyDown Event:
If Key = Chr(4) Or Key = Chr(13) Then
// Set Column(1) as Editable
LB.CellType(Me.ListIndex, 1) = ListBox.TypeEditable
End If
A double click
edit the clicked cell while Return
does not
Whats wrong ?