ListBox.SelectionType Property

Syntax

SelectionType as Integer


Indicates the type of selection allowed. Use the following class constants to set the selection type:
SelectionSingle (0): Single row selection
SelectionMultiple (1): Multiple row selection.
If multiple row selection is on, a ListBox will handle Edit > Select All menu item commands by default.