ComboBox.getSelectedText

Overview | Methods | This Package | All Packages

ComboBox.getSelectedText

Retrieves the text that is selected in the edit control of the combo box.

Syntax

public final String getSelectedText()

Return Value

Returns the text that is selected in the edit control of the combo box. If the combo box has a static text control instead of an edit control, or if no text is selected in the edit control, this method returns an empty string.

See Also   setSelectedText