DesktopListBox.ActiveTextControl

From Xojo Documentation

Read-Only Property (As DesktopTextControl )
DesktopTextControlValue = aDesktopListBox.ActiveTextControl

New in 2021r3

Supported for all project types and targets.

The DesktopTextArea or DesktopTextField that the ListBox uses for its editable cell operations.

Notes

The TextEdit can be either a DesktopTextField or a DesktopTextArea control. To specify which one, the ListBox uses the two following DesktopListBox.CellTypes values:

ListBox.CellTypes.TextArea
ListBox.CellTypes.TextField

For example,

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

To get this DesktopTextField, 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 DesktopTextField.