Microsoft SDK for Java

CheckedListBox.setSelectionMode

Sets a value indicating whether the user can select items in the list box.

Syntax

public final void setSelectionMode( int value )

Parameters

value

A value indicating whether the user can select items in the list box. Possible values are SelectionMode.ONE and SelectionMode.NONE. The default value is SelectionMode.ONE .

Exceptions

WFCInvalidEnumException thrown if the specified value is not either SelectionMode.ONE or SelectionMode.NONE.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.