Microsoft SDK for Java

DhSelectBox.getSelectedIndex

Retrieves the index of the currently selected item.

Syntax

public int getSelectedIndex()

Return Value

Returns the zero-based index of the first selected item.

Remarks

If multiple items are selected in a DhListBox, this method retrieves the first selected item.

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