ListBox.ActiveCell

From Xojo Documentation

Read-Only Property (As TextEdit )
TextEditValue = aListBox.ActiveCell

Supported for all project types and targets.

The TextArea that the ListBox uses for its editable cell operations.

Notes

The TextEdit can be either a TextField or a TextArea control. To specify which one, the ListBox uses the following ListBox constants:

ListBox.TypeEditableTextArea
ListBox.TypeEditableTextField

For example,

ListBox1.CellType(1,0) = ListBox.TypeEditableTextField

To get this TextField, you must put the cell into the Inline Editable mode via the CellType or ColumnType properties and make it editable by calling the EditCell method. You can use this property to set or get the text of the ListBox cell (using SelText), set the selection, or change other properties of the ListBox’s TextField.