DesktopListBox.SelectedRowValue

From Xojo Documentation

Property (As String )
aDesktopListBox.SelectedRowValue = newStringValue
or
StringValue = aDesktopListBox.SelectedRowValue

New in 2021r3

Supported for all project types and targets.

The value of the currently selected item.

Notes

In the case of multi-column ListBoxes, the value of the cell in the first column is returned.