MultiSelect Property (ListView, TabStrip Controls)

           

Returns or sets a value indicating whether a user can select multiple objects or items.

Syntax

object.MultiSelect [= boolean]

The MultiSelect property syntax has these parts:

Part Description
object An object expression that evaluates to an item in the Applies To list
boolean A value specifying the type of selection, as described in Settings.

Settings

The settings for boolean are:

Constant Description
False (Default) Selecting multiple objects or items isn't allowed.
True Multiple selection allowed.

Remarks

For the ListView control: pressing SHIFT and clicking the mouse or pressing SHIFT and one of the arrow keys (UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW) extends the selection from the previously selected ListItem to the current ListItem. Pressing CTRL and clicking the mouse selects or deselects a ListItem in the list.

For the TabStrip control: Tab objects can only be selected when the Style property is set to TabButton.