Cannot type into an editable listbox cell

In CellClick I set the cell to editable:

ErrorListbox10.CellType(row, column) = Listbox.TypeEditableTextField
ErrorListbox10.EditCell(row, column)

The cursor is placed in the cell, ready for data entry. However, the cell will not accept any keyboard input. Typing letters or numbers produces nothing. The cell remains blank.

Any ideas on why will be greatly appreciated. Thank you, TJ

Is there any code at all in your cellKeyDown event?

In Cellkeydown I check the tab key. If pressed I tab to the next editable cell.

IF (Key = chr(9)) THEN // if a tab key was pressed, then

IF (Column < 10) THEN
ErrorListbox10.CellType(Row, Column+1) = Listbox.TypeEditableTextField // event: inline editable text field
ErrorListbox10.EditCell(Row, Column+1)
END IF

IF (Column = 10) THEN
ErrorListbox10.CellType(Row, 1) = Listbox.TypeEditableTextField // event: inline editable text field
ErrorListbox10.EditCell(Row, 1)
END IF

END IF

RETURN TRUE

Return True should be inside the If - End if

[code]IF (Key = chr(9)) THEN // if a tab key was pressed, then

// your TAB code

RETURN TRUE
END IF
[/code]

That was the problem. And I looked at that code many times.

Thanks for the help. Everything is working now.

TJ