Microsoft SDK for Java

ComboBox.setSelectedIndex

Selects an item in a combo box.

Syntax

public final void setSelectedIndex( int index )

Parameters

index

The zero-based index of the item you want to select. Set to -1 if you do not want any items to be selected.

See Also   getSelectedIndex

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