From Xojo Documentation

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

Property (As Boolean )
aDesktopListBox.RequiresSelection = newBooleanValue
BooleanValue = aDesktopListBox.RequiresSelection

New in 2021r3

Supported for all project types and targets.

If True, users will not be able to deselect the last row by clicking below the last visible row or by dragging. You can still deselect the last row by setting the SelectedRowIndex property to DesktopListBox.NoSelection.