MultiSelect

Applies to

ListBox, PictureListBox controls

Description

The MultiSelect property specifies whether users can select multiple items in the list box at one time. When it is enabled, users can select multiple items by clicking them. When MultiSelect is not enabled, users cannot select multiple items at once.

If MultiSelect and ExtendedSelect are both enabled, then the behavior of ExtendedSelect takes precedence. For ExtendedSelect, the user must press Shift or Ctrl when clicking additional items.

Usage


In a painter

StepsTo enable multiple selections from the list:

  1. Select the MultiSelect check box on the General page of the control’s Properties view.


In scripts

The MultiSelect property takes a boolean value. The following example allows multiple selections in the ListBox lb_1:

lb_1.MultiSelect = TRUE