Is it possible to disable spell-checking in a listbox cell?

The cell is set to type TextField but I do not want spell-checking there.

Isn’t it an OS property ?

Me.EditCellAt(2, 0)
Me.ActiveTextControl.AllowSpellChecking = False ' disable Spell Checking
2 Likes

Where should I put that code? CellPressed?

At present, I click on the row to highlight it (I do my row own highlighting), and then click once more this time on the cell. It immediately becomes editable. I’d like to maintain that flow.

Put it eg. in the DesktopListbox.CellPressed-Event:

EditCellAt(row, column)
Me.ActiveTextControl.AllowSpellChecking = False ' disable Spell Checking

Yeah, that seems to do the tricxk, along with a bit of logic to not edit the cell when I’m highlighting the row.

If you don’t want to change the logic, you can just put the second line (Me.ActiveTextControl.AllowSpellChecking = False) in the CellFocusReceived event.