Retrieves the index of the currently selected item.
public int getSelectedIndex()
Returns the zero-based index of the first selected item.
If multiple items are selected in a DhListBox, this method retrieves the first selected item.