Way to tell if ListBox Cell is being edited

Is there a way to tell if a Listbox cell is being edited?
I can’t find a property.
I was wondering why my delete key wasn’t working when I realized it was already being edited. I went looking for a property and I couldn’t see anything obvious.

You may be able to check listbox.ActiveTextControl = Nil. Otherwise, you get a CellGotFocus event when you start editing the cell and a CellLostFocus event when you finish.


It worked. The delete key fired as expected.
I imagine (too much for now) that the two events would use a boolean.