Microsoft SDK for Java

DhSelectBox.setItemText

Sets the text attribute of the specified item.

Syntax

public void setItemText( int index, String strText )

Parameters

index

The zero-based index of the item.

strText

The new text for the item.

Exceptions

WFCInvalidArgumentException thrown if the index is outside the list's range.

See Also   getItemText

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