multiselect Method

Purpose:

Tells a Listview control whether to allow the user to select multiple records.

Syntax:

.multiselect = onoff

Comments:

if onoff is zero, multiselect is now allowed. If onoff is set to 1 multiselect is enabled. 

If onoff is -1, then selection is now allowed at all.

When the user clicks a menu item, this variable is set with the menu item name.

Example:

lis.multiselect = 0 // only allow one selected item at a time
lis.multiselect = 1 // allow multiple selected items
lis.multiselect = -1 // selection is disabled