ListBox.RequiresSelection

From Xojo Documentation

Revision as of 16:12, 22 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )
aListBox.RequiresSelection = newBooleanValue
or
BooleanValue = aListBox.RequiresSelection

New in 2005r1

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 ListBox.NoSelection.