DhSelectBox.getSelectedIndex

Overview | Methods | This Package | All Packages

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.