ListBox.RequiresSelection Property

Syntax

RequiresSelection as Boolean


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 ListIndex property to -1.