ListBox.ActiveTextControl

From Xojo Documentation

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

New in 2019r2

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 two following ListBox.CellTypes values:

ListBox.CellTypes.TextArea
ListBox.CellTypes.TextField

For example,

ListBox1.CellTypeAt(1,0) = ListBox.CellTypes.TextField

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