From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

The value of the currently selected item.


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