Microsoft SDK for Java

DhListBox.getSelectionMode

Retrieves the current selection mode of the list box.

Syntax

public int getSelectionMode()

Return Value

Returns the selection mode. Possible values are:

SelectionMode.ONE indicates that only one item can be selected at a time.

SelectionMode.MULTI_EXTENDED indicates that more than one item at a time can be selected and that keyboard characters, such as SHIFT and CTRL, can be used to assist in the selection.

See Also   com.ms.wfc.ui.SelectionMode, setSelectionMode

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