Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

ListBox.setSelectionMode

Sets a value indicating how many items in the list box a user can select at one time and how the user can make multiple selections.

Syntax

public void setSelectionMode( int value )

Parameters

value

A value that indicates the kinds of selections the user can make in the list box. Possible values are constants defined in the SelectionMode class. The default value is SelectionMode.ONE.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid SelectionMode constant.

See Also   getSelectionMode