F > FListBox.setSelectMultiple |  |

FListBox.setSelectMultiple

FListBox, FListBox.setSelectMultiple, setSelectMultiple

Availability

Flash Player 6.

Usage

    myListBox.setSelectMultiple(multipleSelect)

Parameters

`multipleSelect` A Boolean value specifying multiple-selection mode (`true)` or single-selection mode (`false`).

Returns

Nothing.

Description

Method; specifies whether users are allowed to select multiple items (`true`) or only single items (`false`) in the list box. The default setting is `false`. Calling this method overrides the Select Multiple parameter value set during authoring.

Example

The following code enables multiple selection for `toyList`.

    toyList.setSelectMultiple(true);