Microsoft SDK for Java

DhSelectBox.getText

Retrieves the text for the currently selected item.

Syntax

public String getText()

Return Value

Returns the text of the currently selected item, or returns an empty string ("") if no items are selected. If multiple items are selected, the text of the first selected item is returned.

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